We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b344bd6 + f42c51a commit 27f3571Copy full SHA for 27f3571
1 file changed
qubes/tests/integ/network.py
@@ -807,6 +807,8 @@ def test_031_firewall_dynamic_block(self):
807
)
808
809
810
+ client1 = None
811
+ client2 = None
812
try:
813
self.assertEqual(
814
self.run_cmd(self.testvm1, self.ping_ip), 0, "Ping by IP failed"
@@ -871,10 +873,10 @@ def test_031_firewall_dynamic_block(self):
871
873
if server2.returncode is None:
872
874
server2.terminate()
875
self.loop.run_until_complete(server2.wait())
- if client1.returncode is None:
876
+ if client1 and client1.returncode is None:
877
client1.terminate()
878
self.loop.run_until_complete(client1.wait())
- if client2.returncode is None:
879
+ if client2 and client2.returncode is None:
880
client2.terminate()
881
self.loop.run_until_complete(client2.wait())
882
0 commit comments