Skip to content

Commit 909fbd0

Browse files
authored
[7.x] Mute FullClusterRestartTest#testWatcher and 30s timeout… (elastic#48850)
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: elastic#48381 Related: elastic#48434 Related: elastic#47950 Related: elastic#40178
1 parent 6119f0a commit 909fbd0

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

Lines changed: 2 additions & 1 deletion
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)