mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-04 23:54:02 +02:00
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:
@@ -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 $((!$?))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user