Fix another variant of missing license test failure similar to the cases fixed by #60498.
This commit is contained in:
parent
5885f6ae66
commit
1329c982c9
|
@ -104,7 +104,7 @@ public class DocsClientYamlTestSuiteIT extends ESClientYamlSuiteTestCase {
|
|||
|
||||
@Before
|
||||
public void waitForRequirements() throws Exception {
|
||||
if (isCcrTest() || isGetLicenseTest()) {
|
||||
if (isCcrTest() || isGetLicenseTest() || isXpackInfoTest()) {
|
||||
ESRestTestCase.waitForActiveLicense(adminClient());
|
||||
}
|
||||
}
|
||||
|
@ -180,6 +180,11 @@ public class DocsClientYamlTestSuiteIT extends ESClientYamlSuiteTestCase {
|
|||
return testName != null && (testName.contains("/get-license/") || testName.contains("\\get-license\\"));
|
||||
}
|
||||
|
||||
protected boolean isXpackInfoTest() {
|
||||
String testName = getTestName();
|
||||
return testName != null && (testName.contains("/info/") || testName.contains("\\info\\"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Compares the results of running two analyzers against many random
|
||||
* strings. The goal is to figure out if two anlayzers are "the same" by
|
||||
|
|
Loading…
Reference in New Issue