From cb436f0c291c716fea5162adf5b111c5ddc9cc3b Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Tue, 5 May 2020 08:10:36 +0200 Subject: [PATCH] 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. --- reg-tests/checks/agent-check.vtc | 1 + 1 file changed, 1 insertion(+) diff --git a/reg-tests/checks/agent-check.vtc b/reg-tests/checks/agent-check.vtc index 99cc581..eb2e08e 100644 --- a/reg-tests/checks/agent-check.vtc +++ b/reg-tests/checks/agent-check.vtc @@ -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 -- 1.7.10.4