From 26d97ec148d740214127477321cf1b0ebeef4e06 Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Fri, 21 Feb 2025 08:16:50 +0100 Subject: [PATCH] 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/reg-tests/server/abnsz.vtc b/reg-tests/server/abnsz.vtc index f42933ed0..e1f3b1a71 100644 --- a/reg-tests/server/abnsz.vtc +++ b/reg-tests/server/abnsz.vtc @@ -28,6 +28,7 @@ haproxy h1 -Ws -S -conf { client c1 -connect ${h1_testme_sock} { txreq -url "/" rxresp + expect resp.status == 200 } -run shell {