-
Notifications
You must be signed in to change notification settings - Fork 86
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
Add test for recovery #409
Conversation
Codecov Report
@@ Coverage Diff @@
## master #409 +/- ##
=======================================
Coverage 84.61% 84.61%
=======================================
Files 1 1
Lines 13 13
=======================================
Hits 11 11
Misses 1 1
Partials 1 1 Continue to review full report at Codecov.
|
test/e2e/daemonset_test.go
Outdated
f.EventuallyRepository(api.KindDaemonSet, daemon.ObjectMeta, 1).Should(WithTransform(f.BackupCountInRepositoriesStatus, BeNumerically(">=", 1))) | ||
|
||
By("Waiting for backup event") | ||
repos, err := f.StashClient.StashV1alpha1().Repositories(restic.Namespace).List(metav1.ListOptions{}) |
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 is not right.
|
This PR add some tests for recovery that simulate following steps:
Task to do: