From 6ec44f077d0c910bf707ba60ac472d9daa2e1a1b Mon Sep 17 00:00:00 2001 From: David Turner Date: Thu, 3 Oct 2024 19:35:23 +0100 Subject: [PATCH] Relax timeout in `waitForActiveLicense` (#113673) No sense in failing these tests just because the cluster took a bit too long to start up. Closes #113343 --- .../main/java/org/elasticsearch/test/rest/ESRestTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java b/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java index 7950eb460d430..29dbdc823305c 100644 --- a/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java +++ b/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java @@ -2382,7 +2382,7 @@ protected static void waitForActiveLicense(final RestClient restClient) throws E assertThat("Expecting non-null license status", status, notNullValue()); assertThat("Expecting active license", status, equalTo("active")); } - }); + }, 10, TimeUnit.MINUTES); } // TODO: replace usages of this with warning_regex or allowed_warnings_regex