From 6ad23b98552ebf1f123fe52172a65700aac1610a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 15 Sep 2015 12:57:46 +0200 Subject: [PATCH] Make failing test more robust Let the client retry longer, to make sure the server will time out before the client gives up. Make it really longer to get a deterministic client exit status (make sure it has time to reconnect after the server timeout). --- tests/ssl-opt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 6387af573..e49441301 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -2896,8 +2896,8 @@ run_test "DTLS client reconnect from same port: reconnect, nbio" \ run_test "DTLS client reconnect from same port: no cookies" \ "$P_SRV dtls=1 exchanges=2 read_timeout=1000 cookies=0" \ - "$P_CLI dtls=1 exchanges=2 debug_level=2 hs_timeout=500-1000 reconnect_hard=1" \ - 1 \ + "$P_CLI dtls=1 exchanges=2 debug_level=2 hs_timeout=500-8000 reconnect_hard=1" \ + 0 \ -s "The operation timed out" \ -S "Client initiated reconnection from same port"