mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 14:26:27 +00:00
The testWatcher method will on occasion timeout waiting for a yellow cluster state. This change increases the timeout to 60s.
This commit is contained in:
parent
c19379ef31
commit
a4614daf46
@ -602,7 +602,7 @@ public class FullClusterRestartIT extends AbstractFullClusterRestartTestCase {
|
||||
private void waitForYellow(String indexName) throws IOException {
|
||||
Request request = new Request("GET", "/_cluster/health/" + indexName);
|
||||
request.addParameter("wait_for_status", "yellow");
|
||||
request.addParameter("timeout", "30s");
|
||||
request.addParameter("timeout", "60s");
|
||||
request.addParameter("wait_for_no_relocating_shards", "true");
|
||||
if (getOldClusterVersion().onOrAfter(Version.V_6_2_0)) {
|
||||
request.addParameter("wait_for_no_initializing_shards", "true");
|
||||
|
Loading…
x
Reference in New Issue
Block a user