mirror of https://github.com/apache/druid.git
use waiting multiple when waiting in AnnouncerTest
This commit is contained in:
parent
6f1537d153
commit
b5f0d119f1
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue