You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// On slow machines the initial relocation might be delayed
75
+
do {
76
+
Thread.sleep(100);
77
+
logger.info("--> waiting for no relocation");
78
+
health = client("node1").admin().cluster().prepareHealth().setWaitForGreenStatus().setWaitForNodes("3").setWaitForRelocatingShards(0).execute().actionGet();
79
+
assertThat(health.isTimedOut(), equalTo(false));
73
80
74
-
health = client("node1").admin().cluster().prepareHealth().setWaitForGreenStatus().setWaitForNodes("3").setWaitForRelocatingShards(0).execute().actionGet();
0 commit comments