mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
e2e: detect support for VolumeGroupSnapshot in librbd
Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
committed by
mergify[bot]
parent
b59a701777
commit
c451997762
@ -4857,6 +4857,14 @@ var _ = Describe("RBD", func() {
|
||||
})
|
||||
|
||||
By("test volumeGroupSnapshot", func() {
|
||||
supported, err := librbdSupportsVolumeGroupSnapshot(f)
|
||||
if err != nil {
|
||||
framework.Failf("failed to check for VolumeGroupSnapshot support: %v", err)
|
||||
}
|
||||
if !supported {
|
||||
Skip("librbd does not support required VolumeGroupSnapshot function(s)")
|
||||
}
|
||||
|
||||
scName := "csi-rbd-sc"
|
||||
snapshotter, err := newRBDVolumeGroupSnapshot(f, f.UniqueName, scName, false, deployTimeout, 3)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user