Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ protected ClientYamlTestClient initClientYamlTestClient(

@Before
public void waitForRequirements() throws Exception {
if (isCcrTest() || isGetLicenseTest()) {
if (isCcrTest() || isGetLicenseTest() || isXpackInfoTest()) {
ESRestTestCase.waitForActiveLicense(adminClient());
}
}
Expand Down Expand Up @@ -180,6 +180,11 @@ protected boolean isGetLicenseTest() {
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
Expand Down