Skip to content

Commit

Permalink
tests: fix test_activate_dmcrypt uuid usage
Browse files Browse the repository at this point in the history
4601e10 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 <[email protected]>
  • Loading branch information
ddiss committed Jun 5, 2015
1 parent 792e948 commit 7bef2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ceph-disk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 7bef2d8

Please sign in to comment.