The branch, master has been updated
via 68e1cbf Increase wait time during echo_server's pid-file check
from 5af1553 Avoid mutex lock wait in socket close failure
https://git.samba.org/?p=socket_wrapper.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 68e1cbf73e59954116fd0e7ef98c6e68c5aa0b9a
Author: Anoop C S <[email protected]>
Date: Thu Feb 23 10:52:47 2017 +0000
Increase wait time during echo_server's pid-file check
We used to sleep for 200 microseconds in each iteration for checking
the existence of echo server's pid file which seems to be very short.
In order to avoid chances of failures to detect this pid file within
100 such iterations its better to increase this wait time to 2000
microseconds.
Signed-off-by: Anoop C S <[email protected]>
Reviewed-by: Andreas Schneider <[email protected]>
Reviewed-by: Michael Adam <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
tests/torture.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Changeset truncated at 500 lines:
diff --git a/tests/torture.c b/tests/torture.c
index d3ad84a..55c27c6 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(200);
+ usleep(2000);
} while (rc != 0);
assert_int_equal(rc, 0);
--
Socket Wrapper Repository