Add code to test snapshot,pvc clone and pvc block mode

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna
2019-06-14 14:56:17 +05:30
committed by mergify[bot]
parent e32b649648
commit 1a2d71e580
4 changed files with 188 additions and 29 deletions

View File

@ -45,8 +45,8 @@ var _ = Describe("cephfs", func() {
res, err := framework.RunKubectl("delete", "-f", cephfsDirPath+file.Name())
framework.Logf("failed to delete resource in %s with err %v", res, err)
}
deleteSecret(cephfsExamplePath + "secret.yaml")
deleteStorageClass(cephfsExamplePath + "storageclass.yaml")
deleteResource(cephfsExamplePath + "secret.yaml")
deleteResource(cephfsExamplePath + "storageclass.yaml")
deleteFileSystem()
})
@ -78,6 +78,7 @@ var _ = Describe("cephfs", func() {
validateNormalUserPVCAccess(pvcPath, f)
})
})
})
})