Skip to content

Commit 31bfff2

Browse files
Increase Timeout in WaitForRefreshAndCloseIT (#76078) (#76082)
The test cluster took slightly more than 10s to apply the cluster state for the mapping update randomly which failed the run in #75941. This only ever failed once but since there's no real harm in doing so increasing the timeout to 30s here like we did in other similar spots. closes #75941
1 parent 27edd44 commit 31bfff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/archives/integ-test-zip/src/test/java/org/elasticsearch/test/rest/WaitForRefreshAndCloseIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ private void closeWhileListenerEngaged(ActionFuture<String> future) throws Excep
8383
Map<?, ?> refresh = (Map<?, ?>) total.get("refresh");
8484
int listeners = (Integer) refresh.get("listeners");
8585
assertEquals(1, listeners);
86-
});
86+
}, 30L, TimeUnit.SECONDS);
8787

8888
// Close the index. That should flush the listener.
8989
final Request closeRequest = new Request("POST", "/test/_close");

0 commit comments

Comments
 (0)