From 6b6f082969acf2694ac9d688d408e3ab6586b1ec Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Tue, 13 Dec 2022 18:44:35 +0100 Subject: [PATCH] REGTESTS: startup: activate automatic_maxconn.vtc Check if USE_OBSOLETE_LINK=1 was used so it could run this test when ASAN is not built, since ASAN require this option. For this test to work, the ulimit -n value must be big enough. Could be backported at least to 2.5. --- reg-tests/startup/automatic_maxconn.vtc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/reg-tests/startup/automatic_maxconn.vtc b/reg-tests/startup/automatic_maxconn.vtc index 3b5aeb4151..b7433b1a9f 100644 --- a/reg-tests/startup/automatic_maxconn.vtc +++ b/reg-tests/startup/automatic_maxconn.vtc @@ -1,12 +1,14 @@ -#REGTEST_TYPE=broken -#REQUIRE_VERSION=2.2 -#REQUIRE_OPTION=OPENSSL +varnishtest "Automatic maxconn computation" +feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'" +feature cmd "$HAPROXY_PROGRAM -cc '!feature(OBSOLETE_LINKER)'" +feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL)'" +feature ignore_unknown_macro +#REGTEST_TYPE=devel + # Check the maxconn computation with the -m parameter # Broken because it can't work with ASAN. -varnishtest "Automatic maxconn computation" - feature ignore_unknown_macro -- 2.39.5