mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-27 17:10:22 -04:00
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:
parent
15c461d842
commit
529daca66c
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue