1
0
Эх сурвалжийг харах

Fix a missing minus sign in the sytnax (#106178)

Joe Gallo 1 жил өмнө
parent
commit
013dc8cb4c

+ 1 - 1
test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java

@@ -1105,7 +1105,7 @@ public abstract class ESRestTestCase extends ESTestCase {
         try {
         try {
             // remove all indices except some history indices which can pop up after deleting all data streams but shouldn't interfere
             // remove all indices except some history indices which can pop up after deleting all data streams but shouldn't interfere
             final List<String> indexPatterns = new ArrayList<>(
             final List<String> indexPatterns = new ArrayList<>(
-                List.of("*", "-.ds-ilm-history-*", "-.ds-.slm-history-*", ".ds-.watcher-history-*")
+                List.of("*", "-.ds-ilm-history-*", "-.ds-.slm-history-*", "-.ds-.watcher-history-*")
             );
             );
             if (preserveSecurityIndices) {
             if (preserveSecurityIndices) {
                 indexPatterns.add("-.security-*");
                 indexPatterns.add("-.security-*");