Commit 3cd9ab4
committed
[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 fc7bf5e commit 3cd9ab4
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 | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
348 | 347 | | |
349 | 348 | | |
350 | 349 | | |
| |||
412 | 411 | | |
413 | 412 | | |
414 | 413 | | |
| 414 | + | |
| 415 | + | |
415 | 416 | | |
416 | 417 | | |
417 | 418 | | |
| |||
0 commit comments