Skip to content

Commit

Permalink
HSEARCH-1103 Fix CustomLockProviderTest to pass on Java7 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne committed May 4, 2012
1 parent 9de1e86 commit bba6508
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -54,6 +54,7 @@ public void testUseOfCustomLockingFactory() {
.build();
builder.close();
assertEquals( "somethingHere", CustomLockFactoryProvider.optionValue );
CustomLockFactoryProvider.optionValue = null;
}

@Test
Expand Down Expand Up @@ -112,7 +113,7 @@ private void testUseOfSelectedLockingFactory(String optionName, Class expectedTy
finally {
builder.close();
}
assertEquals( "somethingHere", CustomLockFactoryProvider.optionValue );
assertEquals( null, CustomLockFactoryProvider.optionValue );
}

}

0 comments on commit bba6508

Please sign in to comment.