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

ddl: modify cancel drop column ddl test #8897

Merged
merged 7 commits into from
Jan 8, 2019

Conversation

ciscoxll
Copy link
Contributor

@ciscoxll ciscoxll commented Jan 2, 2019

What problem does this PR solve?

From #8545 TestCancelJob the test here is invalid.

What is changed and how it works?

In the test of cancel drop column, if column does not exist, you need to add column first, cancel job and check it separately. StateDeleteOnly and StateWriteOnly and StateWriteReorganization are in compliance with expectations.

Check List

Tests

  • Unit test

This change is Reviewable

@ciscoxll
Copy link
Contributor Author

ciscoxll commented Jan 2, 2019

@winkyao @zimulala PTAL

@ciscoxll
Copy link
Contributor Author

ciscoxll commented Jan 2, 2019

@crazycs520 PTAL

ddl/ddl_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@crazycs520 crazycs520 left a comment

Choose a reason for hiding this comment

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

LGTM.

@ciscoxll ciscoxll added the status/LGT1 Indicates that a PR has LGTM 1. label Jan 3, 2019
@ciscoxll
Copy link
Contributor Author

ciscoxll commented Jan 4, 2019

@zimulala @winkyao PTAL

1 similar comment
@ciscoxll
Copy link
Contributor Author

ciscoxll commented Jan 7, 2019

@zimulala @winkyao PTAL

Copy link
Contributor

@winkyao winkyao left a comment

Choose a reason for hiding this comment

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

LGTM

@ciscoxll ciscoxll added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Jan 8, 2019
Copy link
Contributor

@zimulala zimulala left a comment

Choose a reason for hiding this comment

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

LGTM

@zimulala zimulala added status/LGT3 The PR has already had 3 LGTM. and removed status/LGT2 Indicates that a PR has LGTM 2. labels Jan 8, 2019
@zimulala
Copy link
Contributor

zimulala commented Jan 8, 2019

/run-all-tests

@codecov-io
Copy link

codecov-io commented Jan 8, 2019

Codecov Report

Merging #8897 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #8897      +/-   ##
==========================================
+ Coverage   67.54%   67.55%   +0.01%     
==========================================
  Files         363      363              
  Lines       75264    75264              
==========================================
+ Hits        50835    50845      +10     
+ Misses      19938    19932       -6     
+ Partials     4491     4487       -4
Impacted Files Coverage Δ
executor/join.go 79.1% <0%> (+0.4%) ⬆️
ddl/delete_range.go 78.85% <0%> (+4.57%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update da31a46...50a823d. Read the comment docs.

@ciscoxll
Copy link
Contributor Author

ciscoxll commented Jan 8, 2019

/run-all-tests

@ciscoxll
Copy link
Contributor Author

ciscoxll commented Jan 8, 2019

/run-all-tests

@ciscoxll ciscoxll merged commit 74b2c14 into pingcap:master Jan 8, 2019
@ciscoxll ciscoxll deleted the drop-column-test branch January 8, 2019 12:06
zhexuany pushed a commit to zhexuany/tidb that referenced this pull request Jan 10, 2019
* modify cancel drop column ddl test
@sre-bot sre-bot added the contribution This PR is from a community contributor. label Dec 18, 2019
@you06 you06 added the sig/sql-infra SIG: SQL Infra label Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution This PR is from a community contributor. sig/sql-infra SIG: SQL Infra status/LGT3 The PR has already had 3 LGTM.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants