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).
This commit is contained in:
Manuel Pégourié-Gonnard 2015-09-15 12:57:46 +02:00
parent d0bf6a3891
commit 6ad23b9855

View file

@ -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"