Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assert job is not null in FullClusterRestartIT
`waitForRollUpJob` is an assertBusy that waits for the rollup job to appear in the tasks list, and waits for it to be a certain state. However, there was a null check around the state assertion, which meant if the job _was_ null, the assertion would be skipped, and the assertBusy would pass withouot an exception. This could then lead to downstream assertions to fail because the job was not actually ready, or in the wrong state. This changes the test to assert the job is not null, so the assertBusy operates as intended. Backport of elastic#38218
- Loading branch information