mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 23:27:04 +02:00
REGTESTS: silence the "log format ignored" warnings
Several tests were declaring a log format without having an explicit log server configured, causing a warning. Let's clean them up.
This commit is contained in:
parent
e72b525832
commit
671f6beac1
@ -58,12 +58,10 @@ haproxy h1 -conf {
|
|||||||
use_backend be1
|
use_backend be1
|
||||||
|
|
||||||
frontend fe2
|
frontend fe2
|
||||||
option tcplog
|
|
||||||
bind "fd@${fe2}" ssl crt ${testdir}/common.pem
|
bind "fd@${fe2}" ssl crt ${testdir}/common.pem
|
||||||
use_backend be2
|
use_backend be2
|
||||||
|
|
||||||
frontend fe3
|
frontend fe3
|
||||||
option httplog
|
|
||||||
bind "fd@${fe3}" ssl crt ${testdir}/common.pem
|
bind "fd@${fe3}" ssl crt ${testdir}/common.pem
|
||||||
use_backend be3
|
use_backend be3
|
||||||
} -start
|
} -start
|
||||||
|
@ -8,13 +8,10 @@ feature ignore_unknown_macro
|
|||||||
|
|
||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
global
|
global
|
||||||
# log stdout format short daemon
|
|
||||||
lua-load ${testdir}/lua_validation.lua
|
lua-load ${testdir}/lua_validation.lua
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
log global
|
|
||||||
option httplog
|
|
||||||
|
|
||||||
frontend main-https
|
frontend main-https
|
||||||
bind "fd@${fe1}" ssl crt ${testdir}/common.pem
|
bind "fd@${fe1}" ssl crt ${testdir}/common.pem
|
||||||
|
@ -75,8 +75,6 @@ server s2 {
|
|||||||
haproxy h1 -conf {
|
haproxy h1 -conf {
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
log global
|
|
||||||
option httplog
|
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
@ -136,8 +134,6 @@ haproxy h1 -conf {
|
|||||||
haproxy h2 -conf {
|
haproxy h2 -conf {
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
log global
|
|
||||||
option httplog
|
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -35,7 +35,6 @@ haproxy h1 -conf {
|
|||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
log global
|
log global
|
||||||
option httplog
|
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
@ -63,7 +62,7 @@ haproxy h1 -conf {
|
|||||||
|
|
||||||
default_backend be1
|
default_backend be1
|
||||||
|
|
||||||
backend be1
|
backend be1
|
||||||
http-request redirect prefix %[var(txn.testvar)] code 301 if { var(txn.testvar) -m found }
|
http-request redirect prefix %[var(txn.testvar)] code 301 if { var(txn.testvar) -m found }
|
||||||
http-request deny
|
http-request deny
|
||||||
|
|
||||||
|
@ -19,8 +19,6 @@ haproxy h1 -conf {
|
|||||||
acl ACL4 acl(ACL2,!ACL3)
|
acl ACL4 acl(ACL2,!ACL3)
|
||||||
|
|
||||||
http-request return status 200 hdr x-acl "ACL1=%[acl(ACL1)] ACL2=%[acl(ACL2)] ACL3=%[acl(ACL3)] ACL4=%[acl(ACL4)] TRUE=%[acl(TRUE)]"
|
http-request return status 200 hdr x-acl "ACL1=%[acl(ACL1)] ACL2=%[acl(ACL2)] ACL3=%[acl(ACL3)] ACL4=%[acl(ACL4)] TRUE=%[acl(TRUE)]"
|
||||||
|
|
||||||
log-format ACL1=%[acl(ACL1)]
|
|
||||||
} -start
|
} -start
|
||||||
|
|
||||||
client c1 -connect ${h1_fe1_sock} {
|
client c1 -connect ${h1_fe1_sock} {
|
||||||
|
@ -29,8 +29,6 @@ haproxy h1 -W -S -conf {
|
|||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
log global
|
|
||||||
option httplog
|
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
@ -12,8 +12,6 @@ haproxy h1 -W -S -conf {
|
|||||||
|
|
||||||
defaults
|
defaults
|
||||||
mode http
|
mode http
|
||||||
log global
|
|
||||||
option httplog
|
|
||||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||||
|
Loading…
Reference in New Issue
Block a user