torture: Increase time to wait for pid file.
authorAndreas Schneider <asn@samba.org>
Tue, 4 Nov 2014 15:25:02 +0000 (16:25 +0100)
committerAndreas Schneider <asn@samba.org>
Thu, 27 Nov 2014 14:58:15 +0000 (15:58 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
tests/torture.c

index 8eb19b5..1164732 100644 (file)
@@ -221,7 +221,7 @@ static void torture_setup_dns_srv_ip(void **state,
                }
 
                rc = stat(s->srv_pidfile, &sb);
-               usleep(50);
+               usleep(200);
        } while (rc != 0);
        assert_int_equal(rc, 0);
 
@@ -308,7 +308,7 @@ void torture_teardown_dns_srv(void **state)
        for (count = 0; count < 10; count++) {
                kill(pid, SIGTERM);
 
-               usleep(100);
+               usleep(200);
 
                rc = kill(pid, 0);
                if (rc != 0) {