]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTEST: fix tls_health_checks random failures on MacOS in Travis-CI
authorWilly Tarreau <w@1wt.eu>
Mon, 13 May 2019 08:47:41 +0000 (10:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 13 May 2019 08:47:41 +0000 (10:47 +0200)
Since commit 2eb1c79df ("REGTEST: make the tls_health_checks test much
faster") the build tests randomly fail on MacOS on Travis-CI. Each time
this test is reponsible for the failure, showing huge response times
possibly indicating that the VMs running the tests are sometimes
overloaded. Since this delay directly impacts the whole regtest execution
time everywhere, it's important not to inflate it too much. It was bumped
to 100ms instead of 40, that doesn't add significantly to the perceived
execution time and should be enough for Travis since test reports have
shown around 60-70 ms.

reg-tests/checks/tls_health_checks.vtc

index 3a576d7845c4793f1764a9d2d5220ce046687b5e..3c0aef2bce97efad770be8c08520c39c1fde44c5 100644 (file)
@@ -79,7 +79,7 @@ haproxy h2 -conf {
         timeout client 20
         timeout server 20
         timeout connect 20
-        default-server downinter 1s inter 40 rise 1 fall 1
+        default-server downinter 1s inter 100 rise 1 fall 1
 
     backend be2
         option log-health-checks