Browse Source

Relax timeout in `waitForActiveLicense` (#113673) (#114059)

No sense in failing these tests just because the cluster took a bit too
long to start up.

Closes #113343
David Turner 1 year ago
parent
commit
91ee2bec0d

+ 1 - 1
test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java

@@ -2382,7 +2382,7 @@ public abstract class ESRestTestCase extends ESTestCase {
                 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