diff --git a/docs/src/test/java/org/elasticsearch/smoketest/DocsClientYamlTestSuiteIT.java b/docs/src/test/java/org/elasticsearch/smoketest/DocsClientYamlTestSuiteIT.java index 0b9d16820f5..249101cfc54 100644 --- a/docs/src/test/java/org/elasticsearch/smoketest/DocsClientYamlTestSuiteIT.java +++ b/docs/src/test/java/org/elasticsearch/smoketest/DocsClientYamlTestSuiteIT.java @@ -143,14 +143,14 @@ public class DocsClientYamlTestSuiteIT extends ESClientYamlSuiteTestCase { protected boolean isSLMTest() { String testName = getTestName(); - return testName != null && (testName.contains("/slm/") || testName.contains("\\slm\\") || + return testName != null && (testName.contains("/slm/") || testName.contains("\\slm\\") || (testName.contains("\\slm/")) || // TODO: Remove after backport of https://github.com/elastic/elasticsearch/pull/48705 which moves SLM docs to correct folder - testName.contains("/ilm/") || testName.contains("\\ilm\\")); + testName.contains("/ilm/") || testName.contains("\\ilm\\") || testName.contains("\\ilm/")); } protected boolean isILMTest() { String testName = getTestName(); - return testName != null && (testName.contains("/ilm/") || testName.contains("\\ilm\\")); + return testName != null && (testName.contains("/ilm/") || testName.contains("\\ilm\\") || testName.contains("\\ilm/")); } protected boolean isMachineLearningTest() {