diff mbox series

openssl: drop redundant test timeout change

Message ID 20261126114226.3858190-1-ross.burton@arm.com
State New
Headers show
Series openssl: drop redundant test timeout change | expand

Commit Message

Ross Burton Nov. 26, 2026, 11:42 a.m. UTC
This patch was extending the test case timeout from 3s to 6s. However,
OpenSSL 4.1 (since [1]) has a timeout of 60s for these tests.

[1] https://github.com/openssl/openssl/pull/31889

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../0001-extend-check_cwm-test-timeout.patch  | 32 -------------------
 .../openssl/openssl_4.1.0.bb                  |  1 -
 2 files changed, 33 deletions(-)
 delete mode 100644 meta/recipes-connectivity/openssl/openssl/0001-extend-check_cwm-test-timeout.patch
diff mbox series

Patch

diff --git a/meta/recipes-connectivity/openssl/openssl/0001-extend-check_cwm-test-timeout.patch b/meta/recipes-connectivity/openssl/openssl/0001-extend-check_cwm-test-timeout.patch
deleted file mode 100644
index 29b9728479f..00000000000
--- a/meta/recipes-connectivity/openssl/openssl/0001-extend-check_cwm-test-timeout.patch
+++ /dev/null
@@ -1,32 +0,0 @@ 
-From ff0de34474c0dfec4f13dfb4079689c8731bf6ce Mon Sep 17 00:00:00 2001
-From: Gyorgy Sarvari <skandigraun@gmail.com>
-Date: Thu, 23 Oct 2025 11:24:36 +0200
-Subject: [PATCH] extend check_cwm test timeout
-
-The default, 3s long test timeout isn't always enough for this
-particular test in case there is a high load on the host machine
-(assuming it is running in qemu). Extend the default timeout to 6s
-for the check_cwm test to avoid timeouts.
-
-Upstream-Status: Inappropriate [upstream issue: https://github.com/openssl/openssl/issues/28983]
-Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
----
- test/radix/main.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/test/radix/main.c b/test/radix/main.c
-index 0f3dc11..d925639 100644
---- a/test/radix/main.c
-+++ b/test/radix/main.c
-@@ -25,6 +25,11 @@ static int test_script(int idx)
-     int testresult;
-     TERP_CONFIG cfg = { 0 };
- 
-+    // check_cwm test sometimes times out, the default 3000ms is
-+    // not enough if the test execution starves for CPU
-+    if (!strncmp("check_cwm", script_info->name, strlen("check_cwm")))
-+        cfg.max_execution_time = ossl_ms2time(6000);
-+
-     if (!TEST_true(bindings_process_init(0, 0)))
-         return 0;
- 
diff --git a/meta/recipes-connectivity/openssl/openssl_4.1.0.bb b/meta/recipes-connectivity/openssl/openssl_4.1.0.bb
index 1e47c3cf348..a7a4bec8742 100644
--- a/meta/recipes-connectivity/openssl/openssl_4.1.0.bb
+++ b/meta/recipes-connectivity/openssl/openssl_4.1.0.bb
@@ -11,7 +11,6 @@  SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \
            file://run-ptest \
            file://0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch \
            file://0001-Configure-do-not-tweak-mips-cflags.patch \
-           file://0001-extend-check_cwm-test-timeout.patch \
            "
 
 SRC_URI:append:class-nativesdk = " \