Test: testRelocationWithBusyClusterUpdateThread - CountDownLatch.countDown should be await
This commit is contained in:
parent
45ecb49a09
commit
487ef80c35
|
@ -521,7 +521,7 @@ public class RelocationTests extends ElasticsearchIntegrationTest {
|
||||||
logger.info("--> waiting for node1 to process replica existence");
|
logger.info("--> waiting for node1 to process replica existence");
|
||||||
allReplicasAssigned.await();
|
allReplicasAssigned.await();
|
||||||
logger.info("--> waiting for recovery to fail");
|
logger.info("--> waiting for recovery to fail");
|
||||||
unassignedShardsAfterReplicasAssigned.countDown();
|
unassignedShardsAfterReplicasAssigned.await();
|
||||||
} finally {
|
} finally {
|
||||||
logger.info("--> releasing cluster state update thread");
|
logger.info("--> releasing cluster state update thread");
|
||||||
releaseClusterState.countDown();
|
releaseClusterState.countDown();
|
||||||
|
|
Loading…
Reference in New Issue