mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 23:48:09 +00:00
Avoid race condition in test
Apparently openssl s_server does not flush stdout, anyway sometimes the client receives the reply and exits, thus terminating the test, before is request is visible on the server's stdout. So, just don't check that, checking the client's output and exit code is already enough.
This commit is contained in:
parent
ac50fc5e2f
commit
4b7027a8da
1 changed files with 0 additions and 3 deletions
|
@ -3238,7 +3238,6 @@ run_test "DTLS proxy: 3d, openssl server" \
|
||||||
"$O_SRV -dtls1 -mtu 2048" \
|
"$O_SRV -dtls1 -mtu 2048" \
|
||||||
"$P_CLI dtls=1 hs_timeout=250-60000 tickets=0" \
|
"$P_CLI dtls=1 hs_timeout=250-60000 tickets=0" \
|
||||||
0 \
|
0 \
|
||||||
-s "Extra-header:" \
|
|
||||||
-c "HTTP/1.0 200 OK"
|
-c "HTTP/1.0 200 OK"
|
||||||
|
|
||||||
needs_more_time 8
|
needs_more_time 8
|
||||||
|
@ -3247,7 +3246,6 @@ run_test "DTLS proxy: 3d, openssl server, fragmentation" \
|
||||||
"$O_SRV -dtls1 -mtu 768" \
|
"$O_SRV -dtls1 -mtu 768" \
|
||||||
"$P_CLI dtls=1 hs_timeout=250-60000 tickets=0" \
|
"$P_CLI dtls=1 hs_timeout=250-60000 tickets=0" \
|
||||||
0 \
|
0 \
|
||||||
-s "Extra-header:" \
|
|
||||||
-c "HTTP/1.0 200 OK"
|
-c "HTTP/1.0 200 OK"
|
||||||
|
|
||||||
needs_more_time 8
|
needs_more_time 8
|
||||||
|
@ -3256,7 +3254,6 @@ run_test "DTLS proxy: 3d, openssl server, fragmentation, nbio" \
|
||||||
"$O_SRV -dtls1 -mtu 768" \
|
"$O_SRV -dtls1 -mtu 768" \
|
||||||
"$P_CLI dtls=1 hs_timeout=250-60000 nbio=2 tickets=0" \
|
"$P_CLI dtls=1 hs_timeout=250-60000 nbio=2 tickets=0" \
|
||||||
0 \
|
0 \
|
||||||
-s "Extra-header:" \
|
|
||||||
-c "HTTP/1.0 200 OK"
|
-c "HTTP/1.0 200 OK"
|
||||||
|
|
||||||
requires_gnutls
|
requires_gnutls
|
||||||
|
|
Loading…
Reference in a new issue