Skip to content

Commit b810048

Browse files
authored
[7.5] Mute FullClusterRestartTest#testWatcher and 30s timeout… (#48851)
The timeout was increased to 60s to allow this test more time to reach a yellow state. However, the test will still on occasion fail even with the 60s timeout. Related: #48381 Related: #48434 Related: #47950 Related: #40178
1 parent 12a618c commit b810048

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x-pack/qa/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart/FullClusterRestartIT.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ public void testSecurityNativeRealm() throws Exception {
145145
}
146146

147147
@SuppressWarnings("unchecked")
148+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/48381")
148149
public void testWatcher() throws Exception {
149150
if (isRunningAgainstOldCluster()) {
150151
logger.info("Adding a watch on old cluster {}", getOldClusterVersion());
@@ -602,7 +603,7 @@ private void assertBasicWatchInteractions() throws Exception {
602603
private void waitForYellow(String indexName) throws IOException {
603604
Request request = new Request("GET", "/_cluster/health/" + indexName);
604605
request.addParameter("wait_for_status", "yellow");
605-
request.addParameter("timeout", "60s");
606+
request.addParameter("timeout", "30s");
606607
request.addParameter("wait_for_no_relocating_shards", "true");
607608
if (getOldClusterVersion().onOrAfter(Version.V_6_2_0)) {
608609
request.addParameter("wait_for_no_initializing_shards", "true");

0 commit comments

Comments
 (0)