e2e: start adopting to the new format of map/unmapOptions

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
Prasanna Kumar Kalever 2021-11-16 21:21:43 +05:30 committed by mergify[bot]
parent ec8397d8d9
commit 5472b66ccf

View File

@ -61,7 +61,7 @@ var (
snapshotPath = rbdExamplePath + "snapshot.yaml" snapshotPath = rbdExamplePath + "snapshot.yaml"
defaultCloneCount = 10 defaultCloneCount = 10
nbdMapOptions = "debug-rbd=20" nbdMapOptions = "nbd:debug-rbd=20"
e2eDefaultCephLogStrategy = "preserve" e2eDefaultCephLogStrategy = "preserve"
) )
@ -271,7 +271,7 @@ var _ = Describe("RBD", func() {
} }
// default io-timeout=0, needs kernel >= 5.4 // default io-timeout=0, needs kernel >= 5.4
if !util.CheckKernelSupport(kernelRelease, nbdZeroIOtimeoutSupport) { if !util.CheckKernelSupport(kernelRelease, nbdZeroIOtimeoutSupport) {
nbdMapOptions = "debug-rbd=20,io-timeout=330" nbdMapOptions = "nbd:debug-rbd=20,io-timeout=330"
} }
}) })