mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-01 21:14:14 +01:00
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:
parent
d0bf6a3891
commit
6ad23b9855
@ -2896,8 +2896,8 @@ run_test "DTLS client reconnect from same port: reconnect, nbio" \
|
|||||||
|
|
||||||
run_test "DTLS client reconnect from same port: no cookies" \
|
run_test "DTLS client reconnect from same port: no cookies" \
|
||||||
"$P_SRV dtls=1 exchanges=2 read_timeout=1000 cookies=0" \
|
"$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" \
|
"$P_CLI dtls=1 exchanges=2 debug_level=2 hs_timeout=500-8000 reconnect_hard=1" \
|
||||||
1 \
|
0 \
|
||||||
-s "The operation timed out" \
|
-s "The operation timed out" \
|
||||||
-S "Client initiated reconnection from same port"
|
-S "Client initiated reconnection from same port"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user