mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
Fix mountoption issue in rbd
use mountoptions when mounting rbd to stagingpath in stagevolume request, add E2E for mount options fixes: #846 updates: #757 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
40d0d5d291
commit
b4e6504e9b
@ -393,6 +393,14 @@ var _ = Describe("RBD", func() {
|
||||
}
|
||||
})
|
||||
|
||||
By("validate mount options in app pod", func() {
|
||||
mountFlags := []string{"discard"}
|
||||
err := checkMountOptions(pvcPath, appPath, f, mountFlags)
|
||||
if err != nil {
|
||||
Fail(err.Error())
|
||||
}
|
||||
})
|
||||
|
||||
// Make sure this should be last testcase in this file, because
|
||||
// it deletes pool
|
||||
By("Create a PVC and Delete PVC when backend pool deleted", func() {
|
||||
|
Reference in New Issue
Block a user