Fix timeouts in the quic_multistream test script 13
authorMatt Caswell <matt@openssl.org>
Thu, 28 Sep 2023 12:59:45 +0000 (13:59 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 2 Oct 2023 13:59:24 +0000 (15:59 +0200)
Script 13 is a stress test which can timeout on some low powered platforms
or with some options that significantly slow performance.

We increase the timeout.

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/22214)

test/quic_multistream_test.c

index 2ad4ef292e2d8ab60bc4693ef74289e03713d794..58b0831ebb9ae9c86f95aa8a44186eac51407eac 100644 (file)
@@ -1053,7 +1053,7 @@ static int run_script_worker(struct helper *h, const struct script_op *script,
             first           = 0;
             offset          = 0;
             op_start_time   = ossl_time_now();
-            op_deadline     = ossl_time_add(op_start_time, ossl_ms2time(8000));
+            op_deadline     = ossl_time_add(op_start_time, ossl_ms2time(60000));
         }
 
         if (!TEST_int_le(ossl_time_compare(ossl_time_now(), op_deadline), 0)) {