From 891d42491fdabea0b3907cba8cbf220c507398b8 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Sun, 19 Mar 2017 19:47:24 +0100 Subject: Give time to start the firewall process Sometimes test sfc_one is failing because the firewall is not started when the test begins. Waiting some seconds after starting the process corrects the problem Change-Id: Iebef292fa66338c3e27a325333cc5f1993facac5 Signed-off-by: Manuel Buil --- sfc/lib/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sfc/lib/utils.py b/sfc/lib/utils.py index 40e1a22b..99f0bb75 100644 --- a/sfc/lib/utils.py +++ b/sfc/lib/utils.py @@ -305,6 +305,7 @@ def vxlan_firewall(sf, iface="eth0", port="22", block=True): cmd = "sh -c 'cd /root;nohup " + cmd + " > /dev/null 2>&1 &'" run_cmd_remote(sf, cmd) + time.sleep(7) def vxlan_tool_stop(sf): -- cgit 1.2.3-korg