mirror of
https://github.com/ceph/ceph
synced 2025-03-05 15:58:41 +00:00
tests: update to match crushmap validation message
http://tracker.ceph.com/issues/13182 Fixes: #13182 Signed-off-by: Loic Dachary <ldachary@redhat.com>
This commit is contained in:
parent
5e8299f012
commit
21a1e75d8a
@ -1631,7 +1631,7 @@ function test_mon_crushmap_validation()
|
||||
exit 1" > "${crushtool_path}"
|
||||
|
||||
expect_false ceph osd setcrushmap -i $map 2> $TMPFILE
|
||||
check_response "Error EINVAL: Failed to parse crushmap: TEST FAIL"
|
||||
check_response "Error EINVAL: Failed crushmap test: TEST FAIL"
|
||||
|
||||
local mon_lease=`ceph-conf --show-config-value mon_lease`
|
||||
|
||||
@ -1650,7 +1650,7 @@ function test_mon_crushmap_validation()
|
||||
sleep $((mon_lease + 1))" > "${crushtool_path}"
|
||||
|
||||
expect_false ceph osd setcrushmap -i $map 2> $TMPFILE
|
||||
check_response "Error EINVAL: Failed to parse crushmap: ${crushtool_path}: timed out (${mon_lease} sec)"
|
||||
check_response "Error EINVAL: Failed crushmap test: ${crushtool_path}: timed out (${mon_lease} sec)"
|
||||
|
||||
ceph tell mon.\* injectargs --crushtool "${crushtool_path_old}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user