]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: disable automatic locking for manual locking test 3426/head
authorJosh Durgin <jdurgin@redhat.com>
Tue, 20 Jan 2015 23:55:11 +0000 (15:55 -0800)
committerJosh Durgin <jdurgin@redhat.com>
Tue, 20 Jan 2015 23:56:12 +0000 (15:56 -0800)
Automatic locking hides the ESHUTDOWN from the caller, which is how
this test detects that blacklisting works.

Fixes: #10592
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
qa/workunits/rbd/test_lock_fence.sh

index ee015043fbdeef5dbee8ecc6de9dba435786959f..dc34cb1deb1e2cc8fc7c55990b63c42e18c0f913 100755 (executable)
@@ -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 &