From 4742a630f21ae0506c59ed60da98f62a711469f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 24 Oct 2018 14:15:18 +0200 Subject: [PATCH] tests: use iptables --wait QubesOS/qubes-issues#3665 affects also tests... --- qubes/tests/integ/network.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qubes/tests/integ/network.py b/qubes/tests/integ/network.py index 12a196b45..8869c28bc 100644 --- a/qubes/tests/integ/network.py +++ b/qubes/tests/integ/network.py @@ -104,7 +104,8 @@ def run_netvm_cmd(cmd): run_netvm_cmd("ip link add test0 type dummy") run_netvm_cmd("ip link set test0 up") run_netvm_cmd("ip addr add {}/24 dev test0".format(self.test_ip)) - run_netvm_cmd("iptables -I INPUT -d {} -j ACCEPT".format(self.test_ip)) + run_netvm_cmd("iptables -I INPUT -d {} -j ACCEPT --wait".format( + self.test_ip)) # ignore failure self.run_cmd(self.testnetvm, "killall --wait dnsmasq") run_netvm_cmd("dnsmasq -a {ip} -A /{name}/{ip} -i test0 -z".format(