blob: ae533da3a8a3d5d98c6b80875098ae838580b035 [file] [log] [blame]
Willy Tarreaub63dbb72021-06-11 16:50:29 +02001varnishtest "Show info of process 1"
William Lallemandcd482772019-10-01 17:53:58 +02002
3#REQUIRE_VERSION=1.9
4
5feature ignore_unknown_macro
6
7# Do nothing. Is there only to create s1_* macros
8server s1 {
9} -start
10
Jerome Magnin1dccfbeb2019-10-30 18:27:45 +010011haproxy h1 -W -S -conf {
William Lallemandcd482772019-10-01 17:53:58 +020012 defaults
13 mode http
Willy Tarreauf6739232021-11-18 17:46:22 +010014 timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
15 timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
16 timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
William Lallemandcd482772019-10-01 17:53:58 +020017
18 frontend myfrontend
19 bind "fd@${my_fe}"
20 default_backend test
21
22 backend test
23 server www1 ${s1_addr}:${s1_port}
24} -start
25
26haproxy h1 -mcli {
Willy Tarreaub63dbb72021-06-11 16:50:29 +020027 send "@1 show info"
28 expect ~ ".*\nProcess_num: 1\n.*"
William Lallemandcd482772019-10-01 17:53:58 +020029} -wait