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.
This commit is contained in:
William Lallemand 2022-12-13 18:44:35 +01:00
parent 2cb1493748
commit 6b6f082969

View File

@ -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