aboutsummaryrefslogtreecommitdiff
path: root/tests/torture.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-05-02 12:23:50 +0200
committerAndreas Schneider <asn@samba.org>2018-05-02 14:23:14 +0200
commitf152f98a98d5b56b26386ae570f343253743289c (patch)
treeec6ac424e21cf1a89746cea5889fb053c6ddc3f0 /tests/torture.c
parent142024a641ca43f842584499b5694d26853dd3d9 (diff)
downloadsocket_wrapper-f152f98a98d5b56b26386ae570f343253743289c.tar.gz
socket_wrapper-f152f98a98d5b56b26386ae570f343253743289c.tar.xz
socket_wrapper-f152f98a98d5b56b26386ae570f343253743289c.zip
tests: Increase wait time for setup and teardown to 5ms
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'tests/torture.c')
-rw-r--r--tests/torture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/torture.c b/tests/torture.c
index 55c27c6..0579779 100644
--- a/tests/torture.c
+++ b/tests/torture.c
@@ -188,7 +188,7 @@ static void torture_setup_echo_srv_ip(void **state,
}
rc = stat(s->srv_pidfile, &sb);
- usleep(2000);
+ usleep(5000);
} while (rc != 0);
assert_int_equal(rc, 0);
@@ -288,7 +288,7 @@ void torture_teardown_echo_srv(void **state)
/* Make sure the daemon goes away! */
kill(pid, SIGTERM);
- usleep(200);
+ usleep(5000);
rc = kill(pid, 0);
if (rc != 0) {