mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
e2e: add tests for RBD VolumeGroupSnapshots
Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
committed by
mergify[bot]
parent
f4f03044f2
commit
b59a701777
13
e2e/rbd.go
13
e2e/rbd.go
@ -4856,6 +4856,19 @@ var _ = Describe("RBD", func() {
|
||||
}
|
||||
})
|
||||
|
||||
By("test volumeGroupSnapshot", func() {
|
||||
scName := "csi-rbd-sc"
|
||||
snapshotter, err := newRBDVolumeGroupSnapshot(f, f.UniqueName, scName, false, deployTimeout, 3)
|
||||
if err != nil {
|
||||
framework.Failf("failed to create RBDVolumeGroupSnapshot: %v", err)
|
||||
}
|
||||
|
||||
err = snapshotter.TestVolumeGroupSnapshot()
|
||||
if err != nil {
|
||||
framework.Failf("failed to test volumeGroupSnapshot: %v", err)
|
||||
}
|
||||
})
|
||||
|
||||
// delete RBD provisioner secret
|
||||
err := deleteCephUser(f, keyringRBDProvisionerUsername)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user