Permalink
Browse files

Fix failing unit test.

  • Loading branch information...
jkreps committed Apr 22, 2009
1 parent e436439 commit 0d69c1c2d2c6e0307c3352d41fa6fd06da53336a
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/unit/voldemort/store/routed/RoutedStoreTest.java
@@ -334,7 +334,7 @@ public void testReadRepairWithFailures() throws InterruptedException {
// read repair on the last node in the code path that is only executed
// if there are failures.
Iterables.get(cluster.getNodes(), 1).getStatus().setUnavailable();
- Iterables.getLast(cluster.getNodes()).getStatus().setUnavailable();
+ Iterables.getLast(cluster.getNodes()).getStatus().setAvailable();
List<Versioned<byte[]>> versioneds = store.get(aKey);
assertEquals(1, versioneds.size());
assertEquals(new ByteArray(anotherValue), new ByteArray(versioneds.get(0).getValue()));

0 comments on commit 0d69c1c

Please sign in to comment.