REGTEST: checks: Fix sync condition for agent-check
agent-check.vtc script fails time to time because the 2nd cli command is sent to early. Waiting for the connection close in the s1 server should be enough to be sure the server state is updated.
This commit is contained in:
parent
1a200d6bd5
commit
cb436f0c29
|
@ -9,6 +9,7 @@ server s1 {
|
|||
barrier b1 sync
|
||||
recv 5
|
||||
send "75%,max-conn:30,maint,down\n"
|
||||
expect_close
|
||||
barrier b2 sync
|
||||
} -start
|
||||
|
||||
|
|
Loading…
Reference in New Issue