From: Christopher Faulet Date: Mon, 1 Apr 2019 09:17:40 +0000 (+0200) Subject: REGTEST: lua/b00003: Relax the regex matching the log message X-Git-Tag: v2.0-dev3~333 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c423030dac2ed8d577813362400a46db059958c5;p=thirdparty%2Fhaproxy.git REGTEST: lua/b00003: Relax the regex matching the log message The timeer TR may be greater than 10ms, making the test fails. --- diff --git a/reg-tests/lua/b00003.vtc b/reg-tests/lua/b00003.vtc index 75cdd7d8da..f58229bc1d 100644 --- a/reg-tests/lua/b00003.vtc +++ b/reg-tests/lua/b00003.vtc @@ -20,7 +20,7 @@ feature ignore_unknown_macro syslog Slog -level info -repeat 100 { recv info - expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Ta=[0-9]* Tc=[0-9]* Td=[0-9]* Th=[0-9]* Ti=[0-9]* Tq=[0-9]* TR=[0-9] Tr=[0-9]* Tt=[0-9]* Tw=[0-9]*" + expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Ta=[0-9]* Tc=[0-9]* Td=[0-9]* Th=[0-9]* Ti=[0-9]* Tq=[0-9]* TR=[0-9]* Tr=[0-9]* Tt=[0-9]* Tw=[0-9]*" } -start haproxy h1 -conf {