Skip to content

Commit 0fdd0ef

Browse files
committed
Wait for ES monitoring indices specifically
1 parent c21a50e commit 0fdd0ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/MultiNodesStatsTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private void waitForMonitoringIndices() throws Exception {
104104
.wildcardOptions(IndicesOptions.WildcardOptions.builder().allowEmptyExpressions(true))
105105
.build();
106106
awaitClusterState(cs -> {
107-
final var indices = indexNameExpressionResolver.concreteIndices(cs, indicesOptions, ALL_MONITORING_INDICES);
107+
final var indices = indexNameExpressionResolver.concreteIndices(cs, indicesOptions, ".monitoring-es-*");
108108
if (indices.length == 0) {
109109
return false;
110110
}

0 commit comments

Comments
 (0)