[FLINK-38403] Stabilize UnalignedCheckpoint ITs #27119
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is the purpose of the change
To take a checkpoint, UC ITs relied on a limited number of retries after failing artificially to produce a checkpoint with in-flight data. Naturally, this approach is flaky when the actual test environment is flaky and retry attempts are used up quickly for unplanned restarts.
The solution is to stop fiddling around with the number of retries and instead use NonRecoverableError to force a failure of the job independent of the retries.
This commit also switches to a better way to retrieve the path of that checkpoint (through JobManager API).
Brief change log
Verifying this change
Test only change
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (yes / no)Documentation