aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2017-03-19 19:47:24 +0100
committerManuel Buil <mbuil@suse.com>2017-03-20 08:31:43 +0000
commit632945e55210a790559fa401f813d08f233f338d (patch)
treed7892933bdaf23f03c8e21422f8058178a25bae6
parent274de8711c51c3cef513c430356f50360f3e2af4 (diff)
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 <mbuil@suse.com> (cherry picked from commit 891d42491fdabea0b3907cba8cbf220c507398b8)
-rw-r--r--sfc/lib/utils.py1
1 files changed, 1 insertions, 0 deletions
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):