Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.2.0
-
None
-
20: PE/Docs/Cleanup
-
1
Description
Restore is implemented with services flags like --disable-data , --disable-eventing etc.
The test doesn't schedule Couchbasebackuprestore resource when using these flags.
Job : http://qa.sc.couchbase.com/view/Cloud/job/k8s-cbop-gke-pipeline/164/console
Backup Image: 1.1.0-100
The test case here is implemented with --disable-data and we expect no items to be restored. The test case here passes because restore resource was not created hence the expectation and observation match.
However the restore resource was not scheduled when checked while the test case was running and this is a false positive.
The logs cannot display any information regarding the same since the test case passes.
Gerrit patch: http://review.couchbase.org/c/couchbase-operator/+/152328
This can be applied and run with the image and as seen in the patch , no huge changes were applied to the test.
Also, there should have been proper message upon restore not getting scheduled, instead of skipping over it.