From: Josh Durgin Date: Tue, 20 Jan 2015 23:55:11 +0000 (-0800) Subject: qa: disable automatic locking for manual locking test X-Git-Tag: v0.92~9^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F3426%2Fhead;p=ceph.git qa: disable automatic locking for manual locking test Automatic locking hides the ESHUTDOWN from the caller, which is how this test detects that blacklisting works. Fixes: #10592 Signed-off-by: Josh Durgin --- diff --git a/qa/workunits/rbd/test_lock_fence.sh b/qa/workunits/rbd/test_lock_fence.sh index ee015043fbdee..dc34cb1deb1e2 100755 --- a/qa/workunits/rbd/test_lock_fence.sh +++ b/qa/workunits/rbd/test_lock_fence.sh @@ -8,7 +8,7 @@ CEPH_REF=${CEPH_REF:-master} wget -O $RBDRW "https://ceph.com/git/?p=ceph.git;a=blob_plain;hb=$CEPH_REF;f=src/test/librbd/rbdrw.py" -rbd create $IMAGE --size 10 --image-format 2 || exit 1 +rbd create $IMAGE --size 10 --image-format 2 --image-shared || exit 1 # rbdrw loops doing I/O to $IMAGE after locking with lockid $LOCKID python $RBDRW $IMAGE $LOCKID &