jerryshao opened a new pull request, #13460:
URL: https://github.com/apache/gravitino/pull/13460

   ### What changes were proposed in this pull request?
   
   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.
   
   Fix: #13420
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   `./gradlew :core:test --tests TestJobManagerMultiNode -PskipITs`
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
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]

Reply via email to