Merge pull request #1054 from metamx/increase-test-wait-time

use waiting multiple when waiting in AnnouncerTest
This commit is contained in:
Fangjin Yang 2015-01-19 11:03:35 -08:00
commit 56bad2114a
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ public class AnnouncerTest extends CuratorTestBase
);
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));