mirror of https://github.com/apache/druid.git
Another try to fix DruidCoordinatorTest#testCoordinatorRun
This commit is contained in:
parent
508629916d
commit
10c19fe9f8
|
@ -342,6 +342,9 @@ public class DruidCoordinatorTest extends CuratorTestBase
|
||||||
Thread.sleep(50);
|
Thread.sleep(50);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// wait historical data to be updated
|
||||||
|
Thread.sleep(druidCoordinatorConfig.getCoordinatorPeriod().getMillis());
|
||||||
|
|
||||||
Map<String, CountingMap<String>> replicationStatus = coordinator.getReplicationStatus();
|
Map<String, CountingMap<String>> replicationStatus = coordinator.getReplicationStatus();
|
||||||
Assert.assertNotNull(replicationStatus);
|
Assert.assertNotNull(replicationStatus);
|
||||||
Assert.assertEquals(1, replicationStatus.entrySet().size());
|
Assert.assertEquals(1, replicationStatus.entrySet().size());
|
||||||
|
|
Loading…
Reference in New Issue