Skip to content

Commit b1bfce5

Browse files
authored
[TEST] FileSettingsRoleMappingsRestartIT - wait for green status (elastic#92772)
1 parent 66c51d3 commit b1bfce5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x-pack/plugin/security/src/internalClusterTest/java/org/elasticsearch/xpack/security/FileSettingsRoleMappingsRestartIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ public void clusterChanged(ClusterChangedEvent event) {
108108
return new Tuple<>(savedClusterState, metadataVersion);
109109
}
110110

111-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/pull/92454")
112111
public void testReservedStatePersistsOnRestart() throws Exception {
113112
internalCluster().setBootstrapMasterNodeIndex(0);
114113

@@ -127,6 +126,8 @@ public void testReservedStatePersistsOnRestart() throws Exception {
127126
logger.info("--> restart master");
128127
internalCluster().restartNode(masterNode);
129128

129+
ensureGreen();
130+
130131
var clusterStateResponse = client().admin().cluster().state(new ClusterStateRequest()).actionGet();
131132
assertThat(
132133
clusterStateResponse.getState()

0 commit comments

Comments
 (0)