Skip to content

Commit 529daca

Browse files
authored
Increase timeout for index migration in FullClusterRestartSystemIndexCompatibilityIT (#127710)
This test occasionally fails on version 8.19 clusters when we are waiting for system index migration to finish. This changes the wait time from the 10s default to 30s to account for the occasional super slow cluster in tests. Closes #127245
1 parent 15c461d commit 529daca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

qa/lucene-index-compatibility/src/javaRestTest/java/org/elasticsearch/lucene/FullClusterRestartSystemIndexCompatibilityIT.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import java.io.IOException;
2323
import java.util.HashMap;
2424
import java.util.Map;
25+
import java.util.concurrent.TimeUnit;
2526

2627
import static org.hamcrest.Matchers.equalTo;
2728

@@ -95,7 +96,7 @@ public void testAsyncSearchIndexMigration() throws Exception {
9596
} catch (IOException e) {
9697
throw new AssertionError("System feature migration failed", e);
9798
}
98-
});
99+
}, 30, TimeUnit.SECONDS);
99100

100101
// check search results from n-2 search are still readable
101102
assertAsyncSearchHitCount(async_search_ids.get("n-2_id"), numDocs);

0 commit comments

Comments
 (0)