-
Notifications
You must be signed in to change notification settings - Fork 89
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
Integration test for clusterpairing using backuplocation #1039
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Ram <[email protected]>
func scheduleClusterPair(ctx *scheduler.Context, skipStorage, resetConfig bool, clusterPairDir string, reverse bool) error { | ||
func scheduleClusterPair(t *testing.T, ctx *scheduler.Context, skipStorage, resetConfig bool, clusterPairDir string, reverse bool) error { | ||
info := make(map[string]string) | ||
enabled, err := strconv.ParseBool(os.Getenv(enableClusterPairBackupLocation)) |
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.
nit: enabled is a vague variable name
@@ -558,12 +569,11 @@ func scheduleClusterPair(ctx *scheduler.Context, skipStorage, resetConfig bool, | |||
} | |||
} | |||
|
|||
info, err := volumeDriver.GetClusterPairingInfo() | |||
info, err = volumeDriver.GetClusterPairingInfo() |
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.
This will overwrite the info we modified above?
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.
Looks good as long as @lpitstickpstg 's comments are addressed.
Can one of the admins verify this patch? |
What type of PR is this?
What this PR does / why we need it:
Integration test for using backuplocation for clusterpair
Does this PR change a user-facing CRD or CLI?:
no
Is a release note needed?:
no
Does this change need to be cherry-picked to a release branch?:
yes, 2.9