]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: unnecessary sleep after failed remove 18619/head
authorMykola Golub <to.my.trociny@gmail.com>
Mon, 30 Oct 2017 06:57:29 +0000 (08:57 +0200)
committerMykola Golub <to.my.trociny@gmail.com>
Mon, 30 Oct 2017 06:57:29 +0000 (08:57 +0200)
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
qa/workunits/rbd/rbd_mirror_helpers.sh

index 1e086eee3229ee16db13353a748e20d62747c8d7..4e4c5640c712137a26c44682313057e1b7b0c250 100755 (executable)
@@ -630,9 +630,9 @@ remove_image_retry()
     local pool=$2
     local image=$3
 
-    for s in 1 2 4 8 16 32; do
-        remove_image ${cluster} ${pool} ${image} && return 0
+    for s in 0 1 2 4 8 16 32; do
         sleep ${s}
+        remove_image ${cluster} ${pool} ${image} && return 0
     done
     return 1
 }