From fbe4463b787c6eb1742ad4fdac4b809deb00b376 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 e8c1aecb7abee..215973b5dece2 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 @@ -2394,7 +2394,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