Browse Source

Longer timeout for local node startup during CI (#109141)

Sometimes CI is slow enough that the 2 min timeout fails. Extending it.

Seen in CI failure from #109139
Henning Andersen 1 year ago
parent
commit
da9282e3f5

+ 1 - 1
test/test-clusters/src/main/java/org/elasticsearch/test/cluster/local/AbstractLocalClusterFactory.java

@@ -64,7 +64,7 @@ public abstract class AbstractLocalClusterFactory<S extends LocalClusterSpec, H
     implements
         LocalClusterFactory<S, H> {
     private static final Logger LOGGER = LogManager.getLogger(AbstractLocalClusterFactory.class);
-    private static final Duration NODE_UP_TIMEOUT = Duration.ofMinutes(2);
+    private static final Duration NODE_UP_TIMEOUT = Duration.ofMinutes(3);
     private static final Map<Pair<Version, DistributionType>, DistributionDescriptor> TEST_DISTRIBUTIONS = new ConcurrentHashMap<>();
     private static final String TESTS_CLUSTER_MODULES_PATH_SYSPROP = "tests.cluster.modules.path";
     private static final String TESTS_CLUSTER_PLUGINS_PATH_SYSPROP = "tests.cluster.plugins.path";