From 5dfdd4a63097d77035cb46e3a17d2fdfa56073c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Tue, 7 May 2019 12:00:36 +0200 Subject: [PATCH] REGTEST: Wrong assumption in IP:port logging test. In this reg test, as the client connection is not supposed to receive any server response, we should try to "rxresp" but we should expect the client connection to be closed by haproxy. This is done replacing "rxresp" by "expect_close". Furthermore since dbb75ee3 vtest commit, calling "rxresp" expects at least to receive a HTTP header as shown by Travis build here: https://travis-ci.com/haproxy/haproxy/jobs/198126488. --- reg-tests/log/wrong_ip_port_logging.vtc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reg-tests/log/wrong_ip_port_logging.vtc b/reg-tests/log/wrong_ip_port_logging.vtc index 228c3fdc2..52857a2e3 100644 --- a/reg-tests/log/wrong_ip_port_logging.vtc +++ b/reg-tests/log/wrong_ip_port_logging.vtc @@ -57,7 +57,7 @@ backend be_app client c1 -connect ${h1_fe_1_sock} { txreq -url "/" - rxresp + expect_close } -run syslog Slg_1 -wait