File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
docs/src/test/java/org/elasticsearch/smoketest Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ protected ClientYamlTestClient initClientYamlTestClient(
104104
105105 @ Before
106106 public void waitForRequirements () throws Exception {
107- if (isCcrTest () || isGetLicenseTest ()) {
107+ if (isCcrTest () || isGetLicenseTest () || isXpackInfoTest () ) {
108108 ESRestTestCase .waitForActiveLicense (adminClient ());
109109 }
110110 }
@@ -180,6 +180,11 @@ protected boolean isGetLicenseTest() {
180180 return testName != null && (testName .contains ("/get-license/" ) || testName .contains ("\\ get-license\\ " ));
181181 }
182182
183+ protected boolean isXpackInfoTest () {
184+ String testName = getTestName ();
185+ return testName != null && (testName .contains ("/info/" ) || testName .contains ("\\ info\\ " ));
186+ }
187+
183188 /**
184189 * Compares the results of running two analyzers against many random
185190 * strings. The goal is to figure out if two anlayzers are "the same" by
You can’t perform that action at this time.
0 commit comments