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

stability cases added: pd replicas 1 and stop tidb-operator #496

Merged
merged 19 commits into from
May 27, 2019

Conversation

weekface
Copy link
Contributor

What problem does this PR solve?

  • add pd replicas 1 case
  • add stop tidb-operator case
  • a daily summary of stability

What is changed and how it works?

Check List

Tests

  • E2E test
  • Stability test

Code changes

  • Has Go code change

Side effects

Related changes

Does this PR introduce a user-facing change?:

NONE

@weekface
Copy link
Contributor Author

/run-e2e-tests

tests/cmd/e2e/main.go Show resolved Hide resolved
@@ -148,6 +149,23 @@ func main() {
TiDBTokenLimit: 1000,
PDLogLevel: "info",
},
{
Copy link
Contributor

Choose a reason for hiding this comment

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

Why the one pd test in e2e test and stability test is different ? this test may only test deploy TiDB cluster, so I think the e2e test did a lot of extra work.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

in order to cover this issue: #350

@weekface weekface added the test/stability stability tests label May 21, 2019
@shuijing198799
Copy link
Contributor

LGTM

shuijing198799
shuijing198799 previously approved these changes May 23, 2019
@weekface
Copy link
Contributor Author

/run-e2e-tests

@weekface
Copy link
Contributor Author

/run-e2e-tests

tennix
tennix previously approved these changes May 24, 2019
- /usr/local/bin/stability-test
- --config=/etc/tidb-operator-stability/config.yaml
- --operator-image=pingcap/tidb-operator:v1.0.0-beta.2
- --operator-tag=v1.0.0-beta.2
Copy link
Member

Choose a reason for hiding this comment

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

You can define image-repo and image-tag to avoid passing the same version twice.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the operator-tag is used by git clone to check out the source code.

For example, the image maybe pingcap/tidb-operator:latest and the operator-tag is master.

return err
}
err = oa.CheckTidbClustersAvailable(clusters)
if err != nil {
Copy link
Member

Choose a reason for hiding this comment

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

return err directly.

@weekface
Copy link
Contributor Author

/run-e2e-tests

@weekface
Copy link
Contributor Author

/run-e2e-tests

@weekface
Copy link
Contributor Author

@tennix @shuijing198799 PTAL

Copy link
Member

@tennix tennix left a comment

Choose a reason for hiding this comment

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

LGTM

@shuijing198799
Copy link
Contributor

LGTM

@weekface weekface merged commit a875bf5 into pingcap:master May 27, 2019
@weekface weekface deleted the pd-replicas-1 branch May 27, 2019 11:19
yahonda pushed a commit that referenced this pull request Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test/stability stability tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants