Add tests to fail as soon as an unexpected condition is met in
test_mon_osd. Otherwise the actual error will be more difficult find in
the logs.
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
break
fi
done
+ ceph osd dump | grep 'osd.0 up'
ceph osd thrash 10
ceph osd down `seq 0 31` # force everything down so that we can trust up
break
fi
done
+ ! ceph osd dump | grep ' down '
+
# if you have more osds than this you are on your own
for f in `seq 0 31`; do
ceph osd in $f || true