aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2017-11-23 10:47:27 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-10-05 12:09:45 +0200
commitfec4dc4eff715331fc9062f173548d4b4c9bbe90 (patch)
treecede19a0d703dc22110298fb30a09793f3405c56
parent3d0c9cc6b5ecf611bf7239560fee03159ab45e35 (diff)
downloadlibssh-fec4dc4eff715331fc9062f173548d4b4c9bbe90.tar.gz
libssh-fec4dc4eff715331fc9062f173548d4b4c9bbe90.tar.xz
libssh-fec4dc4eff715331fc9062f173548d4b4c9bbe90.zip
tests: Give server more time to start
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry-picked from commit f8f7989c)
-rw-r--r--tests/torture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/torture.c b/tests/torture.c
index ca4be531..743df638 100644
--- a/tests/torture.c
+++ b/tests/torture.c
@@ -889,7 +889,7 @@ void torture_setup_sshd_server(void **state)
assert_return_code(rc, errno);
/* Give the process some time to start */
- usleep(300);
+ usleep(1000);
setenv("SOCKET_WRAPPER_DEFAULT_IFACE", "21", 1);
unsetenv("UID_WRAPPER_ROOT");