Don't wait in the tesrver idle testing every time around the loop
authorMatt Caswell <matt@openssl.org>
Wed, 4 Oct 2023 16:50:53 +0000 (17:50 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 6 Oct 2023 09:55:24 +0000 (10:55 +0100)
commit2e62b07a41cca299f7abb69c892053b99ec762b2
tree2b5191204fd7e6207471cdf3059474b70f9171a9
parent4ace824852f385002facf077c5be2815b0780032
Don't wait in the tesrver idle testing every time around the loop

If we wait for 100ms 600 times - then the test takes a minute to complete
which is far too long. The purpose of the wait is to give the assistance
thread a chance to catch up. We only do that if the event timeout has
actually expired - otherwise we are waiting for no reason.

Fixes #22156

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22284)
test/quic_tserver_test.c