]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: startup: activate automatic_maxconn.vtc
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 13 Dec 2022 17:44:35 +0000 (18:44 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 13 Dec 2022 23:32:06 +0000 (00:32 +0100)
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

index 3b5aeb41511f7844d2d78f247f650630cd4b2d5a..b7433b1a9f2bff60988f442842a72203544daf3b 100644 (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