From 529daca66ce174d94efa1a21a7d8580a681c0631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BCscher?= Date: Mon, 5 May 2025 19:37:31 +0200 Subject: [PATCH] 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 --- .../lucene/FullClusterRestartSystemIndexCompatibilityIT.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qa/lucene-index-compatibility/src/javaRestTest/java/org/elasticsearch/lucene/FullClusterRestartSystemIndexCompatibilityIT.java b/qa/lucene-index-compatibility/src/javaRestTest/java/org/elasticsearch/lucene/FullClusterRestartSystemIndexCompatibilityIT.java index 985a073bd603..3bc2fde3e396 100644 --- a/qa/lucene-index-compatibility/src/javaRestTest/java/org/elasticsearch/lucene/FullClusterRestartSystemIndexCompatibilityIT.java +++ b/qa/lucene-index-compatibility/src/javaRestTest/java/org/elasticsearch/lucene/FullClusterRestartSystemIndexCompatibilityIT.java @@ -22,6 +22,7 @@ import org.elasticsearch.test.rest.ObjectPath; import java.io.IOException; import java.util.HashMap; import java.util.Map; +import java.util.concurrent.TimeUnit; import static org.hamcrest.Matchers.equalTo; @@ -95,7 +96,7 @@ public class FullClusterRestartSystemIndexCompatibilityIT extends FullClusterRes } catch (IOException e) { throw new AssertionError("System feature migration failed", e); } - }); + }, 30, TimeUnit.SECONDS); // check search results from n-2 search are still readable assertAsyncSearchHitCount(async_search_ids.get("n-2_id"), numDocs);