Skip to content

tests: fix TestPreparingProgress#9817

Merged
ti-chi-bot[bot] merged 1 commit intotikv:masterfrom
rleungx:fix-test-26h1-12
Oct 16, 2025
Merged

tests: fix TestPreparingProgress#9817
ti-chi-bot[bot] merged 1 commit intotikv:masterfrom
rleungx:fix-test-26h1-12

Conversation

@rleungx
Copy link
Copy Markdown
Member

@rleungx rleungx commented Oct 11, 2025

What problem does this PR solve?

Issue Number: Close #9607.

What is changed and how does it work?

Check List

Tests

  • Unit test

Release note

None.

Signed-off-by: Ryan Leung <rleungx@gmail.com>
@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. do-not-merge/needs-linked-issue do-not-merge/needs-triage-completed dco-signoff: yes Indicates the PR's author has signed the dco. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed do-not-merge/needs-linked-issue do-not-merge/needs-triage-completed labels Oct 11, 2025
@ti-chi-bot
Copy link
Copy Markdown
Contributor

ti-chi-bot bot commented Oct 11, 2025

@rleungx: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
non-block/pull-unit-test-next-gen 38d19a7 link false /test pull-unit-test-next-gen

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.86%. Comparing base (5f2d4ec) to head (38d19a7).
⚠️ Report is 14 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9817      +/-   ##
==========================================
- Coverage   76.92%   76.86%   -0.07%     
==========================================
  Files         491      491              
  Lines       78311    78311              
==========================================
- Hits        60240    60190      -50     
- Misses      14393    14432      +39     
- Partials     3678     3689      +11     
Flag Coverage Δ
unittests 76.86% <ø> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rleungx rleungx changed the title *: fix TestPreparingProgress tests: fix TestPreparingProgress Oct 11, 2025
@rleungx rleungx requested review from lhy1024 and okJiang October 11, 2025 08:17
@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Oct 11, 2025
Comment on lines +1167 to +1168
re.NotEmpty(cluster.WaitLeader())
leader = cluster.GetLeaderServer()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary? We have checked the leader in L1144-1148

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The leader may be dropped due to the environmental issue.

@rleungx rleungx requested a review from lhy1024 October 15, 2025 03:20
@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Oct 16, 2025
@ti-chi-bot
Copy link
Copy Markdown
Contributor

ti-chi-bot bot commented Oct 16, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lhy1024, okJiang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Oct 16, 2025
@ti-chi-bot
Copy link
Copy Markdown
Contributor

ti-chi-bot bot commented Oct 16, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-10-11 08:50:44.723965566 +0000 UTC m=+516633.755064894: ☑️ agreed by okJiang.
  • 2025-10-16 08:00:59.775145114 +0000 UTC m=+340365.852397674: ☑️ agreed by lhy1024.

@ti-chi-bot ti-chi-bot bot merged commit 14ac685 into tikv:master Oct 16, 2025
38 of 41 checks passed
@rleungx rleungx deleted the fix-test-26h1-12 branch October 16, 2025 08:26
rleungx added a commit to ti-chi-bot/pd that referenced this pull request Oct 22, 2025
close tikv#9607

Signed-off-by: Ryan Leung <rleungx@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved dco-signoff: yes Indicates the PR's author has signed the dco. lgtm release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Panic in TestPreparingProgress

3 participants