mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
e2e: add framework for volumegroupsnapshot
adding a framework to test the volumegroupsnapshot for both cephfs and rbd and added a test case for cephfs. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
744b8e1c1c
commit
d2ddd52151
@ -2478,6 +2478,19 @@ var _ = Describe(cephfsType, func() {
|
||||
}
|
||||
})
|
||||
|
||||
By("test volumeGroupSnapshot", func() {
|
||||
scName := "csi-cephfs-sc"
|
||||
snapshotter, err := newCephFSVolumeGroupSnapshot(f, f.UniqueName, scName, false, deployTimeout, 3)
|
||||
if err != nil {
|
||||
framework.Failf("failed to create volumeGroupSnapshot Base: %v", err)
|
||||
}
|
||||
|
||||
err = snapshotter.TestVolumeGroupSnapshot()
|
||||
if err != nil {
|
||||
framework.Failf("failed to test volumeGroupSnapshot: %v", err)
|
||||
}
|
||||
})
|
||||
|
||||
// FIXME: in case NFS testing is done, prevent deletion
|
||||
// of the CephFS filesystem and related pool. This can
|
||||
// probably be addressed in a nicer way, making sure
|
||||
|
Reference in New Issue
Block a user