[SCM] Socket Wrapper Repository - branch master updated

Andreas Schneider asn at samba.org
Mon Feb 27 10:12:45 UTC 2017

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


- Log -----------------------------------------------------------------
commit 68e1cbf73e59954116fd0e7ef98c6e68c5aa0b9a
Author: Anoop C S <anoopcs at redhat.com>
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
    Signed-off-by: Anoop C S <anoopcs at redhat.com>
    Reviewed-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Michael Adam <obnox at samba.org>


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

More information about the samba-cvs mailing list