Skip to content

Commit

Permalink
Merge pull request apache#1054 from metamx/increase-test-wait-time
Browse files Browse the repository at this point in the history
use waiting multiple when waiting in AnnouncerTest
  • Loading branch information
fjy committed Jan 19, 2015
2 parents 0685182 + b5f0d11 commit 56bad21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void eventReceived(CuratorFramework client, CuratorEvent event) throws Ex
);
KillSession.kill(curator.getZookeeperClient().getZooKeeper(), server.getConnectString());

Assert.assertTrue(timing.awaitLatch(latch));
Assert.assertTrue(timing.forWaiting().awaitLatch(latch));

Assert.assertArrayEquals(billy, curator.getData().decompressed().forPath(testPath1));
Assert.assertArrayEquals(billy, curator.getData().decompressed().forPath(testPath2));
Expand Down

0 comments on commit 56bad21

Please sign in to comment.