Skip to content

Commit

Permalink
Merge pull request #18659 from tchaikov/wip-21993
Browse files Browse the repository at this point in the history
qa: stop testing deprecated "ceph osd create"

Reviewed-by: Sage Weil <sage@redhat.com>
  • Loading branch information
tchaikov committed Nov 1, 2017
2 parents 01a65f0 + 371d3f4 commit 2a3d3b8
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions qa/workunits/cephtool/test.sh
Expand Up @@ -1587,16 +1587,7 @@ function test_mon_osd()
# When CEPH_CLI_TEST_DUP_COMMAND is set, osd create
# is repeated and consumes two osd id, not just one.
#
local next_osd
if test "$CEPH_CLI_TEST_DUP_COMMAND" ; then
next_osd=$((gap_start + 1))
else
next_osd=$gap_start
fi
id=`ceph osd create`
[ "$id" = "$next_osd" ]

next_osd=$((id + 1))
local next_osd=$gap_start
id=`ceph osd create $(uuidgen)`
[ "$id" = "$next_osd" ]

Expand Down

0 comments on commit 2a3d3b8

Please sign in to comment.