-
Notifications
You must be signed in to change notification settings - Fork 500
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
fix bakcup test bugs #335
fix bakcup test bugs #335
Conversation
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
tests/actions.go
Outdated
@@ -1112,7 +1135,7 @@ func (oa *operatorActions) Restore(from *TidbClusterInfo, to *TidbClusterInfo) e | |||
"storage.size": "10Gi", | |||
} | |||
|
|||
setString := to.HelmSetString(sets) | |||
setString := to.BackupHelmSetString(sets) | |||
|
|||
restoreName := fmt.Sprintf("%s-restore", from.ClusterName) | |||
cmd := fmt.Sprintf("helm upgrade %s /charts/%s/tidb-backup --set-string %s", |
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.
use install instead of upgrade
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
* fix-main
Co-authored-by: Yue Yang <g1enyy0ung@gmail.com>
No description provided.