Skip to content

Commit a500d20

Browse files
author
Andrey Ershov
committed
&& -> ||
1 parent 4d9d141 commit a500d20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/framework/src/main/java/org/elasticsearch/test/InternalTestCluster.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1729,7 +1729,7 @@ private void restartNode(NodeAndClient nodeAndClient, RestartCallback callback)
17291729
activeDisruptionScheme.applyToNode(nodeAndClient.name, this);
17301730
}
17311731

1732-
if (callback.validateClusterForming() && excludedNodeIds.isEmpty() == false) {
1732+
if (callback.validateClusterForming() || excludedNodeIds.isEmpty() == false) {
17331733
// we have to validate cluster size if updateMinMaster == true, because we need the
17341734
// second node to join in order to increment min_master_nodes back to 2.
17351735
// we also have to do via the node that was just restarted as it may be that the master didn't yet process

0 commit comments

Comments
 (0)