Skip to content

Commit

Permalink
delete the transform to delete any docs which might have been written…
Browse files Browse the repository at this point in the history
… by the

task after deleting the index

fixes elastic#51347
  • Loading branch information
Hendrik Muhs committed Feb 14, 2020
1 parent 2e19050 commit 198c53b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ public void testTaskRemovalAfterInternalIndexGotDeleted() throws Exception {

// 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")
Expand Down

0 comments on commit 198c53b

Please sign in to comment.