Skip to content

Commit d5fc11a

Browse files
authored
[Build] Aggressively increase gradle based Test Cluster startup timeout (#135672)
We see plenty of errors due to a cluster not starting up. This is likely a combination of parallelism, memory pressure and to little timeout. This is aggressively increasing the timeout from 40 to 120s while we will monitor if the overall flakyness in ci is reduced
1 parent bc09ab3 commit d5fc11a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-tools/src/main/java/org/elasticsearch/gradle/testclusters/ElasticsearchCluster.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
public class ElasticsearchCluster implements TestClusterConfiguration, Named {
6565

6666
private static final Logger LOGGER = Logging.getLogger(ElasticsearchNode.class);
67-
private static final int CLUSTER_UP_TIMEOUT = 40;
67+
private static final int CLUSTER_UP_TIMEOUT = 120;
6868
private static final TimeUnit CLUSTER_UP_TIMEOUT_UNIT = TimeUnit.SECONDS;
6969

7070
private final AtomicBoolean configurationFrozen = new AtomicBoolean(false);

0 commit comments

Comments
 (0)