diff --git a/server/src/test/java/org/elasticsearch/cluster/coordination/NodeJoinTests.java b/server/src/test/java/org/elasticsearch/cluster/coordination/NodeJoinTests.java index a85cf39a3a9..76d94966dd2 100644 --- a/server/src/test/java/org/elasticsearch/cluster/coordination/NodeJoinTests.java +++ b/server/src/test/java/org/elasticsearch/cluster/coordination/NodeJoinTests.java @@ -489,7 +489,11 @@ public class NodeJoinTests extends ESTestCase { } catch (InterruptedException | BrokenBarrierException e) { throw new RuntimeException(e); } - joinNode(joinRequest); + try { + joinNode(joinRequest); + } catch (CoordinationStateRejectedException e) { + // ignore + } }, "process " + joinRequest)).collect(Collectors.toList()); assertionThread.start();