yuqi1129 opened a new pull request, #13879: URL: https://github.com/apache/gravitino/pull/13879
### What changes were proposed in this pull request? Cherry-pick #13460 to branch-1.3. After node A's first status pull, accept either `CANCELLING` or `CANCELLED` as the stored status. The final assertions after the second pull (`CANCELLED` and `finishedAt > 0`) are unchanged. ### Why are the changes needed? `cancelOwnedJob` cancels the job and immediately reads its status back. If the local process exits before the read, the first pull already stores `CANCELLED`, so the test fails depending on timing. The flake still occurs on branch-1.3. Fix: #13420 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? `./gradlew :core:test --tests TestJobManagerMultiNode -PskipITs` (9 passed). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
