delete the transform to delete any docs which might have been written by the (#52360)

delete the transform to delete any docs which might have been written by the task after deleting
the index

fixes #51347
This commit is contained in:
Hendrik Muhs 2020-02-16 11:16:54 +01:00
parent bd3a70db4e
commit f0747e607d
1 changed files with 3 additions and 0 deletions

View File

@ -90,6 +90,9 @@ public class TransformRobustnessIT extends TransformRestTestCase {
// the task is gone
assertEquals(0, getNumberOfTransformTasks());
// delete the transform because the task might have written a state doc, cleanup fails if the index isn't empty
deleteTransform(transformId);
}
@SuppressWarnings("unchecked")