REGTEST: lua/b00003: Specify the HAProxy pid when the command ss is executed

This avoids confusions with any other haproxy process.
This commit is contained in:
Christopher Faulet 2019-04-01 15:39:50 +02:00
parent c423030dac
commit ce4ec5039f
1 changed files with 1 additions and 1 deletions

View File

@ -48,6 +48,6 @@ client c1 -connect ${h1_frt_sock} -repeat 100 {
syslog Slog -wait
shell {
ss -pt | grep CLOSE-WAIT.*haproxy
ss -pt | grep CLOSE-WAIT.*haproxy.*pid=${h1_pid}
exit $((!$?))
}