mirror of
https://github.com/ceph/ceph
synced 2024-12-22 03:22:00 +00:00
crushtool: another simple test for update
If the weight doesn't change it should be a no-op. Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
This commit is contained in:
parent
9772d13218
commit
42f2d2fd65
@ -10,3 +10,6 @@
|
||||
$ crushtool -i two --update-item 1 2.0 osd1 --loc host host1 --loc cluster cluster0 -o five > /dev/null
|
||||
$ crushtool -d five -o final
|
||||
$ cmp final "$TESTDIR/simple.template.five"
|
||||
$ crushtool -i five --update-item 1 2.0 osd1 --loc host host1 --loc cluster cluster0 -o six > /dev/null
|
||||
$ crushtool -d six -o final
|
||||
$ cmp final "$TESTDIR/simple.template.five"
|
||||
|
Loading…
Reference in New Issue
Block a user