We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18aa5ad commit 28a8fc5Copy full SHA for 28a8fc5
server/src/internalClusterTest/java/org/opensearch/discovery/ClusterManagerDisruptionIT.java
@@ -198,11 +198,15 @@ public void testIsolateClusterManagerAndVerifyClusterStateConsensus() throws Exc
198
+ nodeState
199
);
200
}
201
-
202
203
- ClusterStateStats clusterStateStats = internalCluster().clusterService().getClusterManagerService().getClusterStateStats();
204
- assertTrue(clusterStateStats.getUpdateFailed() > 0);
+
205
});
+ ClusterStateStats clusterStateStats = internalCluster().clusterService(isolatedNode)
206
+ .getClusterManagerService()
207
+ .getClusterStateStats();
208
+ assertTrue(clusterStateStats.getUpdateFailed() > 0);
209
210
211
212
/**
0 commit comments