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 (#52360)

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

fixes #51347
  • Loading branch information
Hendrik Muhs committed Feb 16, 2020
1 parent bd3a70d commit f0747e6
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 f0747e6

Please sign in to comment.