From: Loic Dachary Date: Sat, 16 May 2015 09:28:54 +0000 (+0200) Subject: tests: ceph-helpers.sh shows ceph report if not clean X-Git-Tag: v9.0.2~146^2~14 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b9447bce9ab761e1d2e31fc4f2952fe2c5b62aaf;p=ceph.git tests: ceph-helpers.sh shows ceph report if not clean Instead of just pg dump and health detail, the wait_for_clean function displays ceph report when it times out, to help figure out what caused it. Signed-off-by: Loic Dachary --- diff --git a/src/test/ceph-helpers.sh b/src/test/ceph-helpers.sh index c39a56fdc141..8280ef2fde2b 100755 --- a/src/test/ceph-helpers.sh +++ b/src/test/ceph-helpers.sh @@ -933,8 +933,7 @@ function wait_for_clean() { if get_is_making_recovery_progress ; then timer=0 elif (( timer >= $TIMEOUT )) ; then - ceph pg dump - ceph health detail + ceph report return 1 fi