Skip to content

expression: let testEvaluatorSuite run serially to avoid affect other unit tests since it uses failpoint#11310

Merged
zz-jason merged 2 commits into
pingcap:masterfrom
qw4990:pb_panic
Jul 18, 2019
Merged

expression: let testEvaluatorSuite run serially to avoid affect other unit tests since it uses failpoint#11310
zz-jason merged 2 commits into
pingcap:masterfrom
qw4990:pb_panic

Conversation

@qw4990
Copy link
Copy Markdown
Contributor

@qw4990 qw4990 commented Jul 18, 2019

What problem does this PR solve?

Some unit tests of testEvaluatorSuite use failpoint to control whether to push down some expressions.

Therefore, when it runs parallelly with other unit tests, all other tests will also be affected by this failpoint, which is undesired.

What is changed and how it works?

Let it run serially to avoid affect other unit tests.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 18, 2019

Codecov Report

Merging #11310 into master will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master     #11310   +/-   ##
===========================================
  Coverage   81.2469%   81.2469%           
===========================================
  Files           423        423           
  Lines         90156      90156           
===========================================
  Hits          73249      73249           
  Misses        11598      11598           
  Partials       5309       5309

Copy link
Copy Markdown
Contributor

@jackysp jackysp left a comment

Choose a reason for hiding this comment

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

LGTM

XuHuaiyu
XuHuaiyu previously approved these changes Jul 18, 2019
Copy link
Copy Markdown
Contributor

@XuHuaiyu XuHuaiyu left a comment

Choose a reason for hiding this comment

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

LGTM

@qw4990
Copy link
Copy Markdown
Contributor Author

qw4990 commented Jul 18, 2019

/run-all-tests

@qw4990
Copy link
Copy Markdown
Contributor Author

qw4990 commented Jul 18, 2019

@XuHuaiyu I rebased this PR to the latest Master, so please help me to approve it again~

Copy link
Copy Markdown
Member

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

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

LGTM

@zz-jason zz-jason changed the title expression, test: let testEvaluatorSuite run serially to avoid affect other unit tests since it uses failpoint expression: let testEvaluatorSuite run serially to avoid affect other unit tests since it uses failpoint Jul 18, 2019
@zz-jason zz-jason added the status/LGT2 Indicates that a PR has LGTM 2. label Jul 18, 2019
@zz-jason
Copy link
Copy Markdown
Member

do we need to cherry pick this PR to release 3.0 or 2.1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/expression status/LGT2 Indicates that a PR has LGTM 2.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants