Skip to content

Commit ae9f5a0

Browse files
committed
[TEST] Rename data-frames to transform in docs test cleanup
The renaming of the tests in elastic#46760 caused the cleanup between tests to be skipped. Fixes elastic#43271 Fixes elastic#47012
1 parent 02b6ce9 commit ae9f5a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/test/java/org/elasticsearch/smoketest/DocsClientYamlTestSuiteIT.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ protected ClientYamlTestClient initClientYamlTestClient(
101101

102102
@After
103103
public void cleanup() throws Exception {
104-
if (isMachineLearningTest() || isDataFrameTest()) {
104+
if (isMachineLearningTest() || isTransformTest()) {
105105
ESRestTestCase.waitForPendingTasks(adminClient());
106106
}
107107
}
@@ -111,9 +111,9 @@ protected boolean isMachineLearningTest() {
111111
return testName != null && (testName.contains("/ml/") || testName.contains("\\ml\\"));
112112
}
113113

114-
protected boolean isDataFrameTest() {
114+
protected boolean isTransformTest() {
115115
String testName = getTestName();
116-
return testName != null && (testName.contains("/data-frames/") || testName.contains("\\data-frames\\"));
116+
return testName != null && (testName.contains("/transform/") || testName.contains("\\transform\\"));
117117
}
118118

119119
/**

0 commit comments

Comments
 (0)