1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-05-28 17:41:28 +03:00

tests: Give server more time to start

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen 2017-11-23 10:47:27 +01:00 committed by Andreas Schneider
parent b92c499626
commit f8f7989c3d

View File

@ -1010,7 +1010,7 @@ void torture_setup_sshd_server(void **state)
assert_return_code(rc, errno);
/* Give the process some time to start */
usleep(500);
usleep(1000);
setenv("SOCKET_WRAPPER_DEFAULT_IFACE", "21", 1);
unsetenv("PAM_WRAPPER");