Merge pull request #4341 from dachary/wip-test-timeout

tests: display ceph report when stuck

Reviewed-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
Loic Dachary 2015-04-13 11:30:29 +02:00
commit 2773ae5aeb

View File

@ -866,6 +866,8 @@ function wait_for_clean() {
if get_is_making_recovery_progress ; then
timer=0
elif (( timer >= $TIMEOUT )) ; then
ceph pg dump
ceph health detail
return 1
fi