]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: Add sleep 1 so that we look for 60 seconds 11926/head
authorDavid Zafman <dzafman@redhat.com>
Thu, 17 Nov 2016 01:58:09 +0000 (17:58 -0800)
committerDavid Zafman <dzafman@redhat.com>
Thu, 17 Nov 2016 01:58:09 +0000 (17:58 -0800)
This failed because test blew through 60 requests in 8 seceons before
the scrub repair even started on Jenkins.

Signed-off-by: David Zafman <dzafman@redhat.com>
src/test/osd/osd-scrub-repair.sh

index a0cb6356751f1234a462d59944f2f33713eb269e..f5600ae6d1fc648a9ac2309d08bae1782a62b72d 100755 (executable)
@@ -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