]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: fix test_activate_dmcrypt uuid usage 4866/head
authorDavid Disseldorp <ddiss@suse.de>
Fri, 29 May 2015 16:30:54 +0000 (18:30 +0200)
committerDavid Disseldorp <ddiss@suse.de>
Fri, 5 Jun 2015 09:39:31 +0000 (11:39 +0200)
4601e10800a63cf0e03108e1da0bf11c19c33e26 introduced a regression in that
an empty (uninitialised) OSD uuid is passed to test_pool_read_write for
IO. As a result, the "rados put" request times out causing test failure.

This change ensures that a correct OSD uuid is passed to
test_pool_read_write.

Signed-off-by: David Disseldorp <ddiss@suse.de>
src/test/ceph-disk.sh

index 9cbbb00c48d9f3e116a69d0927a93b50fdf0d6c5..f3eed8a0e0270127341852225b16cc033f1c6f4b 100755 (executable)
@@ -324,7 +324,7 @@ function test_activate_dmcrypt() {
         --mark-init=none \
         /dev/mapper/$uuid || return 1
 
-    test_pool_read_write $osd_uuid || return 1
+    test_pool_read_write $uuid || return 1
 }
 
 function test_activate_dir() {