From 21a1e75d8a7bad89a48cd9d36902c5d609be5015 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Sun, 20 Sep 2015 23:42:45 +0200 Subject: [PATCH] tests: update to match crushmap validation message http://tracker.ceph.com/issues/13182 Fixes: #13182 Signed-off-by: Loic Dachary --- qa/workunits/cephtool/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 9ca1727d4e793..fc81f86f3ef08 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -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}" -- 2.39.5