diff options
author | Manuel Buil <mbuil@suse.com> | 2017-03-19 19:47:24 +0100 |
---|---|---|
committer | Manuel Buil <mbuil@suse.com> | 2017-03-19 19:47:24 +0100 |
commit | 891d42491fdabea0b3907cba8cbf220c507398b8 (patch) | |
tree | d7892933bdaf23f03c8e21422f8058178a25bae6 | |
parent | d3b5ba3c16b0918060d1fc800bd47e688146f2c4 (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>
-rw-r--r-- | sfc/lib/utils.py | 1 |
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): |