tests: stabilize asynchronous next-gen tests - #11230
Conversation
Signed-off-by: Ryan Leung <rleungx@gmail.com>
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 (3)
Included review availability: Your plan provides up to 4 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe test utilities now wait for a leader different from a specified previous leader. Client integration tests use retrying resignation. Hot-region storage tests collect complete write and read histories before validation. ChangesLeader transfer test reliability
Hot-region storage test reliability
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Other · Severity of issue fixed: Low Suggested reviewers: Merge Risk: ⚪ Minimal · up to The updated tests wait for complete history and a changed leader before asserting results, with no remaining actionable merge risk identified. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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. |
Signed-off-by: Ryan Leung <rleungx@gmail.com>
|
/retest |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #11230 +/- ##
==========================================
+ Coverage 79.79% 79.83% +0.03%
==========================================
Files 544 545 +1
Lines 78879 78891 +12
==========================================
+ Hits 62942 62981 +39
+ Misses 11570 11550 -20
+ Partials 4367 4360 -7
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bufferflies, coderabbitai[bot] The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
What problem does this PR solve?
Issue Number: Close #10353, Close #11229, Close #11233
TestHotRegionStoragecan read history before the asynchronous flush haspersisted the complete batch. Client integration tests can also observe the
old leader immediately after a resignation or fail a one-shot embedded-etcd
leader transfer under CI load.
TestTSOKeyspaceGroupManagerSuite/TestMultiNodescan also race with theautomatic split finisher and time out after the split has already completed.
What is changed and how does it work?
Check List
Tests
Release note