]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTESTS: fix reg-tests/server/abnsz.vtc
authorAurelien DARRAGON <adarragon@haproxy.com>
Fri, 21 Feb 2025 07:16:50 +0000 (08:16 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Fri, 21 Feb 2025 07:22:25 +0000 (08:22 +0100)
commit26d97ec148d740214127477321cf1b0ebeef4e06
tree62ef23c112dc9317467f9b446922ca6d20a8bf9c
parentaac570cd0384f7fb942e7eb1eeb8c7d0605f50e2
REGTESTS: fix reg-tests/server/abnsz.vtc

It was proved in GH #2875 that the regtest was broken, at least for the
server-side abnsz, as the connect() was not performed using the proper
family, which results in kernel refusing to perform the call, while the
reg-test actually succeeds.

Indeed, in the test we used vtest client to connect to haproxy, which
then routed the request to another haproxy instance listening on an
abnsz socket, and this last haproxy was the one to answer the http
request.

As we only used "rxresp" in vtest client, the test succeeded with empty
responses, which was the case due to the server connection failing on the
first haproxy process.
reg-tests/server/abnsz.vtc