Browse Source

[Tests] Ignore data stream reindex (#129851)

Pat Whelan 1 month ago
parent
commit
43118448cf

+ 2 - 2
x-pack/plugin/src/test/java/org/elasticsearch/xpack/test/rest/AbstractXPackRestTest.java

@@ -125,8 +125,8 @@ public abstract class AbstractXPackRestTest extends ESClientYamlSuiteTestCase {
 
     protected Predicate<String> waitForPendingTasksFilter() {
         return task -> {
-            // Don't check rollup jobs because we clear them in the superclass.
-            return task.contains(RollupJob.NAME);
+            // Don't check rollup jobs or data stream reindex tasks because we clear them in the superclass.
+            return task.contains(RollupJob.NAME) || task.contains("reindex-data-stream");
         };
     }