From 47e38ca1b9f748e2f2ce1c035cd3f982d68eb492 Mon Sep 17 00:00:00 2001 From: Mykola Golub Date: Mon, 25 Dec 2017 13:22:59 +0200 Subject: [PATCH] qa/workunits/rbd: bench-write is part of exclusive option test Signed-off-by: Mykola Golub --- qa/workunits/rbd/rbd-nbd.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/qa/workunits/rbd/rbd-nbd.sh b/qa/workunits/rbd/rbd-nbd.sh index 84bdd217e27..e9547e92853 100755 --- a/qa/workunits/rbd/rbd-nbd.sh +++ b/qa/workunits/rbd/rbd-nbd.sh @@ -170,6 +170,8 @@ _sudo dd if=${DATA} of=${DEV} bs=1M oflag=direct expect_false timeout 10 \ rbd bench ${IMAGE} --io-type write --io-size=1024 --io-total=1024 _sudo rbd-nbd unmap ${DEV} +DEV= +rbd bench ${IMAGE} --io-type write --io-size=1024 --io-total=1024 # auto unmap test DEV=`_sudo rbd-nbd map ${POOL}/${IMAGE}` @@ -184,7 +186,4 @@ for i in `seq 10`; do done rbd-nbd list-mapped | expect_false grep "^${PID} *${POOL} *${IMAGE}" -DEV= -rbd bench ${IMAGE} --io-type write --io-size=1024 --io-total=1024 - echo OK -- 2.39.5