Skip to content

Commit 05d4f29

Browse files
nit
1 parent 4de60c5 commit 05d4f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/internalClusterTest/java/org/elasticsearch/cluster/PrevalidateNodeRemovalIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public void testNodeRemovalFromRedClusterWithTimeout() throws Exception {
183183
MockTransportService.getInstance(node2)
184184
.addRequestHandlingBehavior(TransportPrevalidateShardPathAction.ACTION_NAME + "[n]", (handler, request, channel, task) -> {
185185
logger.info("drop the check shards request");
186-
stallPrevalidateShardPathActionLatch.await();
186+
safeAwait(stallPrevalidateShardPathActionLatch);
187187
handler.messageReceived(request, channel, task);
188188
});
189189
try {

0 commit comments

Comments
 (0)