-
Notifications
You must be signed in to change notification settings - Fork 254
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
Stop skipping advanced clone method tests with immediate bind annotation #3039
Conversation
- Smart/CSI clone These tests are by definition only running on CSI storage (IsCSIVolumeCloneStorageClassAvailable/IsSnapshotStorageClassAvailable) - Snapshot clone This test is always getting skipped, since snapshots always imply the storage is CSI Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
/cc @ShellyKa13 |
By("Check host assisted clone is taking place") | ||
pvc, err := f.K8sClient.CoreV1().PersistentVolumeClaims(dataVolume.Namespace).Get(context.TODO(), dataVolume.Name, metav1.GetOptions{}) | ||
Expect(err).ToNot(HaveOccurred()) | ||
suffix := "-host-assisted-source-pvc" | ||
Expect(pvc.Annotations[controller.AnnCloneRequest]).To(HaveSuffix(suffix)) | ||
Expect(pvc.Spec.DataSource).To(BeNil()) | ||
Expect(pvc.Spec.DataSourceRef).To(BeNil()) |
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.
why was it removed?
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.
we no longer fall back to host assisted - #2765
so now this test is just about the result being a success
/lgtm |
/test all |
/retest |
/test all |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: awels The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
These tests are by definition only running on CSI storage (IsCSIVolumeCloneStorageClassAvailable/IsSnapshotStorageClassAvailable)
This test is always getting skipped, since snapshots always imply the storage is CSI
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Release note: