]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/mon/crush_ops.sh: fix test
authorSage Weil <sage@inktank.com>
Wed, 25 Sep 2013 17:10:21 +0000 (10:10 -0700)
committerSage Weil <sage@inktank.com>
Mon, 30 Sep 2013 03:53:28 +0000 (20:53 -0700)
Fix root.

Fixes: #6392
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit c8cae87e9e08468cc86145e0fd60c05d12826239)

qa/workunits/mon/crush_ops.sh

index c2744fa279daa7707d56dcba50f6ca4c692f8c2e..f1770e171ebe5dd18fb040094ee9461f6ac85876 100755 (executable)
@@ -70,7 +70,7 @@ ceph osd crush rm foo
 
 # test reweight
 o3=`ceph osd create`
-ceph osd crush add $o3 123 root=foo
+ceph osd crush add $o3 123 root=default
 ceph osd tree | grep osd.$o3 | grep 123
 ceph osd crush reweight osd.$o3 113
 ceph osd tree | grep osd.$o3 | grep 113