Skip to content

Commit 13c37e0

Browse files
prwhelanJeremyDahlgren
authored andcommitted
[Tests] Ignore data stream reindex (elastic#129851)
1 parent 3f4336b commit 13c37e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ public void cleanup() throws Exception {
125125

126126
protected Predicate<String> waitForPendingTasksFilter() {
127127
return task -> {
128-
// Don't check rollup jobs because we clear them in the superclass.
129-
return task.contains(RollupJob.NAME);
128+
// Don't check rollup jobs or data stream reindex tasks because we clear them in the superclass.
129+
return task.contains(RollupJob.NAME) || task.contains("reindex-data-stream");
130130
};
131131
}
132132

0 commit comments

Comments
 (0)