-
Notifications
You must be signed in to change notification settings - Fork 82
Adding function to verify Backup / Restore data #624
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
Adding function to verify Backup / Restore data #624
Conversation
Skipping CI for Draft Pull Request. |
@deepakraj1997 nice start dude! |
/retest |
@@ -47,6 +47,7 @@ var _ = Describe("AWS backup restore tests", func() { | |||
|
|||
parksAppReady := VerificationFunction(func(ocClient client.Client, namespace string) error { | |||
Eventually(IsDCReady(ocClient, "parks-app", "restify"), timeoutMultiplier*time.Minute*10, time.Second*10).Should(BeTrue()) | |||
// err := VerifyBackUpRestoreData(artifact_dir, namespace, "restify", "parks-app") // TODO: VERIFY PARKS APP DATA |
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.
thanks... looking at the parks app.. the last commit was in 2016. I'm a little suspicious of this app. https://github.com/ryanj/restify-mongodb-parks
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.
I had added the issue in the description although we could verify the data if we add a wait function.
/retest |
1 similar comment
/retest |
+1 to making this part of the validation VERY resiliant |
tests/e2e/lib/apps.go
Outdated
@@ -197,3 +203,54 @@ func RunMustGather(oc_cli string, artifact_dir string) error { | |||
_, err := cmd.Output() | |||
return err | |||
} | |||
|
|||
func VerifyBackUpRestoreData(artifact_dir string, namespace string, routeName string, app string) error { |
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.
func VerifyBackUpRestoreData(artifact_dir string, namespace string, routeName string, app string) error { | |
func VerifyBackupRestoreData(artifact_dir string, namespace string, routeName string, app string) error { |
/retest |
@deepakraj1997: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Uh oh!
There was an error while loading. Please reload this page.