-
Notifications
You must be signed in to change notification settings - Fork 499
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
rewrite e2e #346
rewrite e2e #346
Conversation
/run-e2e-tests |
/run-e2e-tests |
2 similar comments
/run-e2e-tests |
/run-e2e-tests |
/run-e2e-tests |
/run-e2e-tests |
/run-e2e-tests |
/run-e2e-tests |
/run-e2e-tests |
1 similar comment
/run-e2e-tests |
/run-e2e-tests |
/run-e2e-tests |
2 similar comments
/run-e2e-tests |
/run-e2e-tests |
/run-e2e-tests |
/run-e2e-tests |
1 similar comment
/run-e2e-tests |
/run-e2e-tests |
1 similar comment
/run-e2e-tests |
/run-e2e-tests |
5 similar comments
/run-e2e-tests |
/run-e2e-tests |
/run-e2e-tests |
/run-e2e-tests |
/run-e2e-tests |
@@ -315,6 +341,12 @@ func (oa *operatorActions) CleanTidbCluster(info *TidbClusterInfo) error { | |||
} | |||
} | |||
|
|||
// delete all jobs | |||
allJobsSet := label.Label{}.Instance(info.ClusterName).String() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allJobsSet := label.Label{}.Instance(info.ClusterName).String() | |
allJobsSet := label.New().Instance(info.ClusterName).String() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the namespace contains some jobs which label app.kubernetes.io/managed-by: Tiller
.
these jobs cannot be select by label.New()
command: | ||
- /usr/local/bin/e2e | ||
- --operator-tag=e2e | ||
- --operator-image=pingcap/tidb-operator:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- --operator-image=pingcap/tidb-operator:latest | |
- --operator-image=localhost:5000/pingcap/tidb-operator:latest |
/run-e2e-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
this pr rewrite e2e test and refactor the test code. the test contains e2e test and stability test.