Browse files

Removing subtle test order dependence in this test, the finder kept o…

…n referencing the old backing store after testDelay causing issues if any test using finder was run after it
  • Loading branch information...
1 parent b20d937 commit 2756d9643a257efaaf8f3829c95313df89b0c4d8 @aaime aaime committed Oct 27, 2012
View
4 ...hsql/src/test/java/org/geotools/referencing/factory/epsg/ThreadedHsqlEpsgFactoryTest.java
@@ -61,9 +61,7 @@ public void setUp() throws Exception {
}
// force in the standard timeout
factory.setTimeout(30 * 60 * 1000);
- if( finder == null ){
- finder = factory.getIdentifiedObjectFinder(CoordinateReferenceSystem.class);
- }
+ finder = factory.getIdentifiedObjectFinder(CoordinateReferenceSystem.class);
corruptConnection();
}

0 comments on commit 2756d96

Please sign in to comment.