[SCM] Socket Wrapper Repository - branch master updated

Andreas Schneider asn at samba.org
Wed May 2 12:23:29 UTC 2018


The branch, master has been updated
       via  f152f98 tests: Increase wait time for setup and teardown to 5ms
      from  142024a tests: Remove extra test by moving getsockname() to another

https://git.samba.org/?p=socket_wrapper.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit f152f98a98d5b56b26386ae570f343253743289c
Author: Andreas Schneider <asn at samba.org>
Date:   Wed May 2 12:23:50 2018 +0200

    tests: Increase wait time for setup and teardown to 5ms
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Michael Adam <obnox at samba.org>

-----------------------------------------------------------------------

Summary of changes:
 tests/torture.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/tests/torture.c b/tests/torture.c
index 55c27c6..0579779 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(2000);
+		usleep(5000);
 	} while (rc != 0);
 	assert_int_equal(rc, 0);
 
@@ -288,7 +288,7 @@ void torture_teardown_echo_srv(void **state)
 		/* Make sure the daemon goes away! */
 		kill(pid, SIGTERM);
 
-		usleep(200);
+		usleep(5000);
 
 		rc = kill(pid, 0);
 		if (rc != 0) {


-- 
Socket Wrapper Repository



More information about the samba-cvs mailing list