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:
parent
c423030dac
commit
ce4ec5039f
|
@ -48,6 +48,6 @@ client c1 -connect ${h1_frt_sock} -repeat 100 {
|
||||||
syslog Slog -wait
|
syslog Slog -wait
|
||||||
|
|
||||||
shell {
|
shell {
|
||||||
ss -pt | grep CLOSE-WAIT.*haproxy
|
ss -pt | grep CLOSE-WAIT.*haproxy.*pid=${h1_pid}
|
||||||
exit $((!$?))
|
exit $((!$?))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue