Skip to content

Commit

Permalink
[Transform] fix sporadic test failure due to unavailable notif… (#54939)
Browse files Browse the repository at this point in the history
move no initializing shards check before dumping audit messages

fixes #54810
  • Loading branch information
Hendrik Muhs authored Apr 9, 2020
1 parent 2b23cd5 commit df44a82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,9 @@ protected static void deleteTransform(String transformId) throws IOException {

@After
public void waitForTransform() throws Exception {
ensureNoInitializingShards();
logAudits();
if (preserveClusterUponCompletion() == false) {
ensureNoInitializingShards();
wipeTransforms();
waitForPendingTransformTasks();
}
Expand Down

0 comments on commit df44a82

Please sign in to comment.