Commit 052b04d
Zachary Tong
[Rollup] Fix FullClusterRestart test
We need to wait for the job to fully initialize and start before
we can attempt to stop it. If we don't, it's possible for the stop
API to be called before the persistent task is fully loaded and it'll
throw an exception.
Closes #327731 parent 99f91dc commit 052b04d
File tree
1 file changed
+2
-1
lines changed- x-pack/qa/full-cluster-restart/src/test/java/org/elasticsearch/xpack/restart
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
349 | 348 | | |
350 | 349 | | |
351 | 350 | | |
| |||
413 | 412 | | |
414 | 413 | | |
415 | 414 | | |
| 415 | + | |
| 416 | + | |
416 | 417 | | |
417 | 418 | | |
418 | 419 | | |
| |||
0 commit comments