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=d0410062e2e8aa44ea0c8f415b5ab0908159d89d;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 a0cb6356751f..f5600ae6d1fc 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