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
This commit is contained in:
Christoph Büscher 2025-05-05 19:37:31 +02:00 committed by GitHub
parent 15c461d842
commit 529daca66c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);