Conversation
Signed-off-by: Ryan Leung <rleungx@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthrough
ChangesLeadership change testing
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to This test-only synchronization change has no identified merge-blocking behavior. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai[bot]: adding LGTM is restricted to approvers and reviewers in OWNERS files. DetailsIn response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: coderabbitai[bot] The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/retest |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #11255 +/- ##
=======================================
Coverage 79.73% 79.74%
=======================================
Files 546 546
Lines 79262 79262
=======================================
+ Hits 63203 63206 +3
+ Misses 11686 11675 -11
- Partials 4373 4381 +8
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
What problem does this PR solve?
Issue Number: ref #8836
TestRaftClusterStartTSOJobcan fail on a leader-transfer timeout even after another peer has become leader. In the failing CI run, the campaign loop superseded the test's transfer topd3with a transfer topd1. The original request timed out while waiting for its specific target, so the test stopped before checking TSO allocator shutdown.What is changed and how does it work?
The four startup scenarios and existing allocator assertions are preserved. The test still fails if leadership does not change.
Check List
Tests
TestRaftClusterStartTSOJob, 3 runs each with-race -tags deadlockand-race -tags deadlock,nextgen.-race -tags deadlock,nextgen.WaitLeaderChange.make checkwith golangci-lint v2.6.0.The CI timing did not reproduce in the unmodified baseline runs; the controlled regression validates the observed completed-transfer/error-response outcome. Fault injection is confined to disposable validation worktrees.
Release note
Summary by CodeRabbit