From: William Lallemand Date: Tue, 13 Dec 2022 17:44:35 +0000 (+0100) Subject: REGTESTS: startup: activate automatic_maxconn.vtc X-Git-Tag: v2.8-dev1~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b6f082;p=thirdparty%2Fhaproxy.git 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. --- 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