From: David Zafman Date: Thu, 17 Nov 2016 01:58:09 +0000 (-0800) Subject: test: Add sleep 1 so that we look for 60 seconds X-Git-Tag: v11.1.0~260^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F11926%2Fhead;p=ceph.git test: Add sleep 1 so that we look for 60 seconds This failed because test blew through 60 requests in 8 seceons before the scrub repair even started on Jenkins. Signed-off-by: David Zafman --- diff --git a/src/test/osd/osd-scrub-repair.sh b/src/test/osd/osd-scrub-repair.sh index a0cb6356751..f5600ae6d1f 100755 --- a/src/test/osd/osd-scrub-repair.sh +++ b/src/test/osd/osd-scrub-repair.sh @@ -355,6 +355,7 @@ function TEST_list_missing_erasure_coded() { [ $i -lt 60 ] || return 1 matches=$(ceph pg $pg list_missing | egrep "MOBJ0|MOBJ1" | wc -l) [ $matches -eq 2 ] && break + sleep 1 done teardown $dir || return 1