]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: log: Reduce response inspect-delay for last_rule.vtc
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 16 May 2023 06:04:00 +0000 (08:04 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 17 May 2023 07:21:01 +0000 (09:21 +0200)
Because of the previous fix, log/last_rule.vtc script is failing. The
inspect-delay is no longer shorten when the end of the message is
reached. Thus WAIT_END acl is trully respected. 10s is too high and hit the
Vtext timeout, making the script fails.

reg-tests/log/last_rule.vtc

index e6951665411823eac905f5be6da43da51d9bd550..c69ebd8e21c4eff92f9c4fea1125e4fadce0c1bc 100644 (file)
@@ -69,7 +69,7 @@ haproxy h1 -conf {
        #  /hrqvar, /hrqacc1, /hrqred1, /hrqrej1, /hrqrej2,
        #  /hrsacc1, /hrsred1, /hrsrej1, /hrsrej2
 
-       tcp-response inspect-delay 10s
+       tcp-response inspect-delay 1s
         tcp-request  content set-var(txn.path) path  # must have no effect
         tcp-request  content accept if { var(txn.path) -m beg /trqacc1 /hrqrej1 }
         tcp-request  content reject if { var(txn.path) -m beg /trqrej1 }