mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
REGTESTS: abortonclose: after retries, 503 is expected, not close
The abortonclose test was only expecting a close after all server retries were exhausted, it didn't check for the pending 503, which fails with new versions of vtest starting with commit 8d6c6bd ("Leak-plugging on barriers"). This may be backported, but carefully in case older versions would really close without responding.
This commit is contained in:
parent
ab4fa24cd8
commit
1713eec36d
@ -83,7 +83,8 @@ haproxy h1 -conf {
|
|||||||
# No server, wait all connection retries : SC--
|
# No server, wait all connection retries : SC--
|
||||||
client c1 -connect ${h1_fe1_sock} {
|
client c1 -connect ${h1_fe1_sock} {
|
||||||
txreq -url /c1
|
txreq -url /c1
|
||||||
expect_close
|
rxresp
|
||||||
|
expect resp.status == 503
|
||||||
} -run
|
} -run
|
||||||
|
|
||||||
# Wait c1 log entry
|
# Wait c1 log entry
|
||||||
|
Loading…
Reference in New Issue
Block a user