[7.x] Mute FullClusterRestartTest#testWatcher and 30s timeout… (#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: #48381 Related: #48434 Related: #47950 Related: #40178
This commit is contained in:
parent
6119f0aaa2
commit
909fbd0015
|
@ -145,6 +145,7 @@ public class FullClusterRestartIT extends AbstractFullClusterRestartTestCase {
|
|||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/48381")
|
||||
public void testWatcher() throws Exception {
|
||||
if (isRunningAgainstOldCluster()) {
|
||||
logger.info("Adding a watch on old cluster {}", getOldClusterVersion());
|
||||
|
@ -602,7 +603,7 @@ public class FullClusterRestartIT extends AbstractFullClusterRestartTestCase {
|
|||
private void waitForYellow(String indexName) throws IOException {
|
||||
Request request = new Request("GET", "/_cluster/health/" + indexName);
|
||||
request.addParameter("wait_for_status", "yellow");
|
||||
request.addParameter("timeout", "60s");
|
||||
request.addParameter("timeout", "30s");
|
||||
request.addParameter("wait_for_no_relocating_shards", "true");
|
||||
if (getOldClusterVersion().onOrAfter(Version.V_6_2_0)) {
|
||||
request.addParameter("wait_for_no_initializing_shards", "true");
|
||||
|
|
Loading…
Reference in New Issue