REGTESTS: make tcp-check_min-recv fail fast
authorWilly Tarreau <w@1wt.eu>
Thu, 18 Nov 2021 16:26:25 +0000 (17:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 18 Nov 2021 16:56:00 +0000 (17:56 +0100)
commitb89df417183a7d2edc5810f6291d0402462b4b2e
treef9b7b61321d4ea36d5a6ebe7b60645184149e18b
parent419c11728d3867bfe04bc1164ef9f874eec4c78b
REGTESTS: make tcp-check_min-recv fail fast

This test was dependent on the check/server timeout to detect a failure,
which is not logical since we also use that one as an upper bound for
success in the second test, and that needlessly extends the test duration.
Let's make sur the timeout strikes immediately with only 1 ms timeout. Now
the total tests time is around 5.3-5.4s down from 8.7s in dev14. There is
still quite some room for improvement in the peers tests which all wait 2s
before starting but this will be more complicated.
reg-tests/checks/tcp-check_min-recv.vtc