improve load test
This commit is contained in:
parent
2eeb4ebd8c
commit
f4064038e4
|
@ -223,6 +223,7 @@ public class RecoveryWhileUnderLoadTests extends AbstractNodesTests {
|
|||
|
||||
stop.set(true);
|
||||
stopLatch.await();
|
||||
assertThat(client("node2").admin().cluster().prepareHealth().setTimeout("1m").setWaitForYellowStatus().execute().actionGet().status(), equalTo(ClusterHealthStatus.YELLOW));
|
||||
|
||||
client("node2").admin().indices().prepareRefresh().execute().actionGet();
|
||||
for (int i = 0; i < 10; i++) {
|
||||
|
|
Loading…
Reference in New Issue