]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: Increase sleep in test_pidfile.sh 17052/head
authorDavid Zafman <dzafman@redhat.com>
Wed, 16 Aug 2017 16:41:01 +0000 (09:41 -0700)
committerDavid Zafman <dzafman@redhat.com>
Wed, 16 Aug 2017 16:41:01 +0000 (09:41 -0700)
Signed-off-by: David Zafman <dzafman@redhat.com>
src/test/test_pidfile.sh

index 8f9c8cc2c181a0c2809cebbc340150728640e347..f92e14f2c5eca7a7900b117cee40f168f4eeadd6 100755 (executable)
@@ -50,11 +50,11 @@ function TEST_pidfile() {
 
     # no daemon can use a pidfile that is owned by another daemon
     run_mon $dir a || return 1
-    sleep 2
+    sleep 5
     run_mon $dir a --log-to-stderr -f 2>&1 | grep "failed to lock pidfile" || return 1
 
     run_osd $dir 0 || return 1
-    sleep 2
+    sleep 5
     activate_osd $dir 0 --log-to-stderr -f 2>&1 | grep "failed to lock pidfile" || return 1
 
     # when a daemon shutdown, it will not unlink a path different from