Skip to content

Commit a00d54f

Browse files
committed
[Transform] Stop transforms at the end of tests
Stopping the transform at the end of test, before the reset, can help other tests running in parallel. Resolve elastic#122980
1 parent 668b509 commit a00d54f

File tree

1 file changed

+3
-0
lines changed
  • x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration

1 file changed

+3
-0
lines changed

x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformUpdateIT.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,9 @@ private void updateTransferRightsTester(boolean useSecondaryAuthHeaders) throws
340340
Map<?, ?> transformStatsAsMap = getTransformStateAndStats(transformIdCloned);
341341
assertThat(XContentMapValues.extractValue("stats.documents_indexed", transformStatsAsMap), equalTo(27));
342342
}, 15, TimeUnit.SECONDS);
343+
344+
stopTransform(transformId, BASIC_AUTH_VALUE_TRANSFORM_ADMIN_1, true, false);
345+
stopTransform(transformIdCloned, BASIC_AUTH_VALUE_TRANSFORM_ADMIN_1, true, false);
343346
}
344347

345348
private void deleteUser(String user) throws IOException {

0 commit comments

Comments
 (0)