mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
Add resize check for XFS formatted FS
Lock out parellel requests against same volumeID Remove pod after resize and validation in E2E Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
8e437244de
commit
7c8e66e427
11
e2e/rbd.go
11
e2e/rbd.go
@ -116,7 +116,6 @@ var _ = Describe("RBD", func() {
|
||||
By("create a PVC and Bind it to an app with normal user", func() {
|
||||
validateNormalUserPVCAccess(pvcPath, f)
|
||||
})
|
||||
// Skipping ext4 FS testing
|
||||
|
||||
By("create a PVC and Bind it to an app with ext4 as the FS ", func() {
|
||||
deleteResource(rbdExamplePath + "storageclass.yaml")
|
||||
@ -250,8 +249,16 @@ var _ = Describe("RBD", func() {
|
||||
e2elog.Logf("failed to resize PVC %v", err)
|
||||
Fail(err.Error())
|
||||
}
|
||||
}
|
||||
|
||||
deleteResource(rbdExamplePath + "storageclass.yaml")
|
||||
createRBDStorageClass(f.ClientSet, f, map[string]string{"csi.storage.k8s.io/fstype": "xfs"})
|
||||
err = resizePVCAndValidateSize(pvcPath, appPath, f)
|
||||
if err != nil {
|
||||
e2elog.Logf("failed to resize PVC %v", err)
|
||||
Fail(err.Error())
|
||||
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
By("Test unmount after nodeplugin restart", func() {
|
||||
|
Reference in New Issue
Block a user