Skip to content
New issue

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

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

Already on GitHub? # to your account

tests: add ms cluster case #8752

Merged
merged 4 commits into from
Nov 1, 2024
Merged

tests: add ms cluster case #8752

merged 4 commits into from
Nov 1, 2024

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Oct 30, 2024

What problem does this PR solve?

Issue Number: ref #8683

What is changed and how does it work?

Check List

Tests

  • Integration test

Release note

None.

@ti-chi-bot ti-chi-bot bot added do-not-merge/needs-linked-issue 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/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 30, 2024
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.63%. Comparing base (20087e2) to head (d69e6ac).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8752      +/-   ##
==========================================
+ Coverage   75.61%   75.63%   +0.02%     
==========================================
  Files         460      461       +1     
  Lines       72135    72273     +138     
==========================================
+ Hits        54543    54664     +121     
- Misses      14104    14116      +12     
- Partials     3488     3493       +5     
Flag Coverage Δ
unittests 75.63% <ø> (+0.02%) ⬆️

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

Signed-off-by: Ryan Leung <rleungx@gmail.com>
@rleungx
Copy link
Member Author

rleungx commented Oct 31, 2024

/retest

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

@okJiang okJiang left a comment

Choose a reason for hiding this comment

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

rest lgtm

@@ -165,3 +182,58 @@ func waitTiupReady(t *testing.T, tag string) {
}
require.Failf(t, "TiUP is not ready", "tag: %s", tag)
}

type msClusterSuite struct {
Copy link
Member

Choose a reason for hiding this comment

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

seems we can add a field ms bool to clusterSuite rather than create a new structure.

Copy link
Member Author

Choose a reason for hiding this comment

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

good point

Signed-off-by: Ryan Leung <rleungx@gmail.com>
@rleungx rleungx requested a review from okJiang November 1, 2024 08:06
Copy link
Contributor

ti-chi-bot bot commented Nov 1, 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 added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Nov 1, 2024
Copy link
Contributor

ti-chi-bot bot commented Nov 1, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-11-01 03:55:03.491193094 +0000 UTC m=+581216.330348633: ☑️ agreed by lhy1024.
  • 2024-11-01 09:49:51.441586991 +0000 UTC m=+602504.280742538: ☑️ agreed by okJiang.

@rleungx
Copy link
Member Author

rleungx commented Nov 1, 2024

/retest

@ti-chi-bot ti-chi-bot bot merged commit 60b960a into tikv:master Nov 1, 2024
25 checks passed
@rleungx rleungx deleted the ms-tso branch November 4, 2024 02:32
# for free to join this conversation on GitHub. Already have an account? # 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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants