git.samba.org
/
resolv_wrapper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: Wait longer for dns_srv to start
[resolv_wrapper.git]
/
tests
/
torture.c
diff --git
a/tests/torture.c
b/tests/torture.c
index 1164732250ac8438041bdaf12bb02556dc2567b9..f6de6d993f9336656ab72c101ca4d3b1f0c54616 100644
(file)
--- a/
tests/torture.c
+++ b/
tests/torture.c
@@
-221,7
+221,8
@@
static void torture_setup_dns_srv_ip(void **state,
}
rc = stat(s->srv_pidfile, &sb);
- usleep(200);
+ /* Wait 200 ms before retrying */
+ usleep(200 * 1000);
} while (rc != 0);
assert_int_equal(rc, 0);