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