We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 676e1b1 commit da79930Copy full SHA for da79930
server/src/test/java/org/elasticsearch/action/admin/cluster/state/ClusterStateApiTests.java
@@ -62,7 +62,7 @@ public void testWaitForMetaDataVersion() throws Exception {
62
// Verify that the timed out property has been set"
63
metadataVersion = response.getState().getMetaData().version();
64
clusterStateRequest.waitForMetaDataVersion(metadataVersion + 1);
65
- clusterStateRequest.waitForTimeout(TimeValue.timeValueSeconds(1)); // Fail fast
+ clusterStateRequest.waitForTimeout(TimeValue.timeValueMillis(500)); // Fail fast
66
ActionFuture<ClusterStateResponse> future3 = client().admin().cluster().state(clusterStateRequest);
67
assertBusy(() -> {
68
assertThat(future3.isDone(), is(true));
0 commit comments