[TEST] wait for no initializing shards
This commit is contained in:
parent
c9131983f5
commit
4bcad95fe7
|
@ -243,6 +243,7 @@ public class FollowIndexSecurityIT extends ESRestTestCase {
|
|||
Request request = new Request("GET", "/_cluster/health/" + index);
|
||||
request.addParameter("wait_for_status", "yellow");
|
||||
request.addParameter("wait_for_no_relocating_shards", "true");
|
||||
request.addParameter("wait_for_no_initializing_shards", "true");
|
||||
request.addParameter("timeout", "70s");
|
||||
request.addParameter("level", "shards");
|
||||
adminClient().performRequest(request);
|
||||
|
|
|
@ -204,6 +204,7 @@ public class FollowIndexIT extends ESRestTestCase {
|
|||
Request request = new Request("GET", "/_cluster/health/" + index);
|
||||
request.addParameter("wait_for_status", "yellow");
|
||||
request.addParameter("wait_for_no_relocating_shards", "true");
|
||||
request.addParameter("wait_for_no_initializing_shards", "true");
|
||||
request.addParameter("timeout", "70s");
|
||||
request.addParameter("level", "shards");
|
||||
client().performRequest(request);
|
||||
|
|
Loading…
Reference in New Issue