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

*: make TestForwardTSOUnexpectedToFollower stable #8595

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Sep 4, 2024

What problem does this PR solve?

Issue Number: Close #8589, close #8397.

What is changed and how does it work?

Increase the retry times to make sure that force load should happen at least once.

Check List

Tests

  • Unit test

Release note

None.

@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/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Sep 4, 2024
Copy link

codecov bot commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.55%. Comparing base (a4ae781) to head (ada3763).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8595      +/-   ##
==========================================
- Coverage   77.61%   77.55%   -0.07%     
==========================================
  Files         474      474              
  Lines       61852    61852              
==========================================
- Hits        48006    47967      -39     
- Misses      10316    10335      +19     
- Partials     3530     3550      +20     
Flag Coverage Δ
unittests 77.55% <ø> (-0.07%) ⬇️

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

@@ -57,7 +57,7 @@ import (

const (
heartbeatSendTimeout = 5 * time.Second
maxRetryTimesRequestTSOServer = 3
maxRetryTimesRequestTSOServer = 6
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it enough?

Copy link
Member Author

Choose a reason for hiding this comment

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

Perhaps we need a better mechanism later.

@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Sep 5, 2024
Copy link
Contributor

ti-chi-bot bot commented Sep 6, 2024

[APPROVALNOTIFIER] This PR is APPROVED

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

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 added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Sep 6, 2024
Copy link
Contributor

ti-chi-bot bot commented Sep 6, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-09-05 09:22:05.0360127 +0000 UTC m=+522649.554065621: ☑️ agreed by HuSharp.
  • 2024-09-06 05:43:43.298627542 +0000 UTC m=+595947.816680467: ☑️ agreed by lhy1024.

@ti-chi-bot ti-chi-bot bot merged commit 0bb9b13 into tikv:master Sep 6, 2024
25 checks passed
@rleungx rleungx deleted the fix-test-2024-24 branch September 6, 2024 05:59
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/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TestForwardTSOUnexpectedToFollower1 is unstable TestForwardTSOUnexpectedToFollower2 is unstable
3 participants