Skip to content

variable: improve code coverage, fix unstable test#26586

Merged
ti-chi-bot merged 4 commits intopingcap:masterfrom
morgo:improve-code-coverage
Jul 27, 2021
Merged

variable: improve code coverage, fix unstable test#26586
ti-chi-bot merged 4 commits intopingcap:masterfrom
morgo:improve-code-coverage

Conversation

@morgo
Copy link
Contributor

@morgo morgo commented Jul 27, 2021

What problem does this PR solve?

Issue Number: close #25893

Problem Summary:

This removes the flaky part of a test since it is modified by other parts of the server concurrently. Additional tests are added to improve coverage from 47.2% to 51.1%.

What is changed and how it works?

What's Changed:

Improves tests only

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

None

@ti-chi-bot ti-chi-bot added release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 27, 2021
@morgo morgo added the sig/sql-infra SIG: SQL Infra label Jul 27, 2021
@morgo morgo requested a review from a team July 27, 2021 01:00
@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Jul 27, 2021
@ti-chi-bot
Copy link
Member

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • wjhuang2016
  • xhebox

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

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

Details

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Jul 27, 2021
@xhebox
Copy link
Contributor

xhebox commented Jul 27, 2021

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

DetailsCommit hash: c19f2f5

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Jul 27, 2021
@ti-chi-bot ti-chi-bot merged commit 8642902 into pingcap:master Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note-none Denotes a PR that doesn't merit a release note. sig/sql-infra SIG: SQL Infra size/M Denotes a PR that changes 30-99 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unstable test testSysVarSuite.TestInstanceScopedVars

4 participants