We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62310da commit 511cb59Copy full SHA for 511cb59
test/framework/src/main/java/org/opensearch/test/rest/OpenSearchRestTestCase.java
@@ -709,13 +709,14 @@ protected void refreshAllIndices() throws IOException {
709
if (warnings.isEmpty()) {
710
return false;
711
}
712
- boolean allSystemIndexWarning = true;
+ boolean allSystemIndexWarnings = true;
713
for (String warning : warnings) {
714
if (!warning.startsWith("this request accesses system indices:")) {
715
- allSystemIndexWarning = false;
+ allSystemIndexWarnings = false;
716
+ break;
717
718
- return !allSystemIndexWarning;
719
+ return !allSystemIndexWarnings;
720
});
721
refreshRequest.setOptions(requestOptions);
722
client().performRequest(refreshRequest);
0 commit comments