Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

test: add online ddl test in integration test #84

Merged
merged 12 commits into from
Mar 19, 2019

Conversation

amyangfei
Copy link
Contributor

@amyangfei amyangfei commented Mar 16, 2019

What problem does this PR solve?

Add online ddl test in integration test

What is changed and how it works?

  1. firstly we have added gh-ost and pt-soc tools in JenkinsCI
  2. support online ddl with gh-ost and pt-osc in DM
  3. remove unused API defined in OnlinePlugin interface
  4. refine some scripts in integration test

Check List

Tests

  • Integration test

@amyangfei amyangfei added priority/normal Minor change, requires approval from ≥1 primary reviewer status/WIP This PR is still work in progress type/test Changes related to test cases type/qa relate to quality assurance labels Mar 16, 2019
@amyangfei
Copy link
Contributor Author

/run-all-tests

@@ -1,8 +1,9 @@
#!/bin/sh
# parameter 1: sql file
# parameter 3: host
Copy link
Contributor

Choose a reason for hiding this comment

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

Err must keep the list in order 😕

@amyangfei amyangfei added status/PTAL This PR is ready for review. Add this label back after committing new changes and removed status/WIP This PR is still work in progress labels Mar 18, 2019
@amyangfei
Copy link
Contributor Author

PTAL @GregoryIan @csuzhangxc

tests/README.md Outdated Show resolved Hide resolved
csuzhangxc and others added 2 commits March 19, 2019 10:59
Co-Authored-By: amyangfei <amyangfei@gmail.com>
@@ -127,16 +126,6 @@ func (g *Ghost) Apply(tables []*filter.Table, statement string, stmt ast.StmtNod
return nil, schema, table, nil
}

// InOnlineDDL implements interface
func (g *Ghost) InOnlineDDL(schema, table string) bool {
Copy link
Member

Choose a reason for hiding this comment

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

@GregoryIan what's your opinion about removing these unused interfaces.

Copy link
Collaborator

Choose a reason for hiding this comment

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

It doesn't matter, add it back when you need it.

Copy link
Member

@csuzhangxc csuzhangxc left a comment

Choose a reason for hiding this comment

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

LGTM

@csuzhangxc csuzhangxc added status/LGT1 One reviewer already commented LGTM and removed status/PTAL This PR is ready for review. Add this label back after committing new changes labels Mar 19, 2019
@IANTHEREAL
Copy link
Collaborator

LGTM

@IANTHEREAL
Copy link
Collaborator

Good Job

@kennytm kennytm added status/LGT2 Two reviewers already commented LGTM, ready for merge and removed status/LGT1 One reviewer already commented LGTM labels Mar 19, 2019
@amyangfei amyangfei merged commit 3f4c0d8 into pingcap:master Mar 19, 2019
@amyangfei amyangfei deleted the online-ddl-test branch March 19, 2019 15:53
lichunzhu pushed a commit to lichunzhu/dm that referenced this pull request Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority/normal Minor change, requires approval from ≥1 primary reviewer status/LGT2 Two reviewers already commented LGTM, ready for merge type/qa relate to quality assurance type/test Changes related to test cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants