summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/torture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/torture.c b/tests/torture.c
index 0579779..e55ebcf 100644
--- a/tests/torture.c
+++ b/tests/torture.c
@@ -183,12 +183,12 @@ static void torture_setup_echo_srv_ip(void **state,
struct stat sb;
count++;
- if (count > 100) {
+ if (count > 20) {
break;
}
rc = stat(s->srv_pidfile, &sb);
- usleep(5000);
+ usleep(50000L); /* 0.05s * 20 */
} while (rc != 0);
assert_int_equal(rc, 0);