git.samba.org
/
resolv_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d6402e
)
tests: Wait longer for dns_srv to start
author
Andreas Schneider
<asn@samba.org>
Thu, 17 Oct 2019 15:44:51 +0000
(17:44 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Sun, 20 Oct 2019 12:59:54 +0000
(14:59 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
tests/torture.c
patch
|
blob
|
history
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);