Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*: fix TestStoreWatch panic #8682

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Oct 10, 2024

What problem does this PR solve?

Issue Number: Close #8680.

What is changed and how does it work?

If the lease expires, the raft cluster will be nil, resulting in panic.

Check List

Tests

  • Unit test

Release note

None.

Signed-off-by: Ryan Leung <[email protected]>
@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. 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. labels Oct 10, 2024
Copy link

codecov bot commented Oct 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.76%. Comparing base (697d907) to head (fc816bc).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8682      +/-   ##
==========================================
+ Coverage   71.72%   71.76%   +0.04%     
==========================================
  Files         517      517              
  Lines       67450    67450              
==========================================
+ Hits        48377    48404      +27     
+ Misses      15504    15474      -30     
- Partials     3569     3572       +3     
Flag Coverage Δ
unittests 71.76% <ø> (+0.04%) ⬆️

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

@rleungx rleungx requested a review from lhy1024 October 10, 2024 07:22
@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Oct 10, 2024
@rleungx
Copy link
Member Author

rleungx commented Oct 10, 2024

/test pull-integration-realcluster-test

@ti-chi-bot ti-chi-bot bot added the lgtm label Oct 10, 2024
Copy link
Contributor

ti-chi-bot bot commented Oct 10, 2024

[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

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 removed the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Oct 10, 2024
Copy link
Contributor

ti-chi-bot bot commented Oct 10, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-10-10 07:33:15.026868514 +0000 UTC m=+1117750.447081526: ☑️ agreed by lhy1024.
  • 2024-10-10 09:17:18.858646133 +0000 UTC m=+1123994.278859145: ☑️ agreed by okJiang.

@ti-chi-bot ti-chi-bot bot merged commit 48e72f1 into tikv:master Oct 10, 2024
25 of 26 checks passed
@rleungx rleungx deleted the fix-test-2024-29 branch October 10, 2024 09:29
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.

TestStoreWatch panic
3 participants