Browse files

Fixing unit test which used rollback(null)

  • Loading branch information...
1 parent 7d5e323 commit 3d26d92aea5687d7ff8cff42e28a0d6848e379cc @rsumbaly rsumbaly committed Mar 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/unit/voldemort/store/readonly/ReadOnlyStorageEngineTest.java
View
2 test/unit/voldemort/store/readonly/ReadOnlyStorageEngineTest.java
@@ -366,7 +366,7 @@ public void testSwapRollbackFail() throws IOException {
// try to rollback nothing
try {
- engine.rollback(null);
+ engine.rollback((File) null);
fail("Should have thrown an exception since null is passed");
} catch(VoldemortException e) {}

0 comments on commit 3d26d92

Please sign in to comment.