]> git.kaiwu.me - haproxy.git/commit
REGTESTS: http-messaging: widen the abort window of the abortonclose test
authorWilly Tarreau <w@1wt.eu>
Tue, 22 Sep 2026 21:53:49 +0000 (21:53 +0000)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Sep 2026 15:25:37 +0000 (17:25 +0200)
commite81f01771b02802ac31614d3f949523404ff5f01
tree6053d3ae39ed50ab3db202acf23c0bd8c388eff8
parent20f4f6aea27d2048ea32ea52b274952662200a79
REGTESTS: http-messaging: widen the abort window of the abortonclose test

Running the whole suite with "--j 32" caught the /c5 request being
answered with the 503 of the exhausted connection retries and logged
"SC--" where the test expects the "CC--" of a client abort.

That request is sent by a client which closes immediately, and the
abort has to be noticed before the retries are over, which the connect
timeout of a hundred milliseconds does not guarantee on a process
starved by thirty-two parallel tests: the log of the failing run shows
the whole retry sequence completed in exactly those 100 ms.

The connect timeout of the section that request uses is raised to one
second, which leaves ten times more room and does not make the test
any slower, since the expected outcome is precisely that the abort
cuts the retries short. The other section, whose request is expected
to wait for all the retries, is left untouched.
reg-tests/http-messaging/http_abortonclose.vtc