[Transform] fix sporadic test failure due to unavailable notif… (#54939)
move no initializing shards check before dumping audit messages fixes #54810
This commit is contained in:
parent
afa3467957
commit
223fbb2ae7
|
@ -380,9 +380,9 @@ public abstract class TransformRestTestCase extends ESRestTestCase {
|
|||
|
||||
@After
|
||||
public void waitForTransform() throws Exception {
|
||||
ensureNoInitializingShards();
|
||||
logAudits();
|
||||
if (preserveClusterUponCompletion() == false) {
|
||||
ensureNoInitializingShards();
|
||||
wipeTransforms();
|
||||
waitForPendingTransformTasks();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue