提交 d3da570b 编写于 作者: F Feng Yang

tests.netperf: Update iptables stop command to ignore fail status

In some host 'service iptables stop' command exit with error code 5.
It will fail our case.
Signed-off-by: NFeng Yang <fyang@redhat.com>
上级 b5e9d950
......@@ -81,7 +81,7 @@ def run_netperf(test, params, env):
"""
def env_setup(session, ip, user, port, password):
error.context("Setup env for %s" % ip)
ssh_cmd(session, "service iptables stop")
ssh_cmd(session, "service iptables stop; true")
ssh_cmd(session, "echo 1 > /proc/sys/net/ipv4/conf/all/arp_ignore")
netperf_dir = os.path.join(data_dir.get_root_dir(), "shared/deps")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册