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:
Christopher Faulet 2020-05-05 08:10:36 +02:00
parent 1a200d6bd5
commit cb436f0c29
1 changed files with 1 additions and 0 deletions

View File

@ -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