Skip to content

Commit dd6b643

Browse files
Ian Southamwilderrodrigues
authored andcommitted
Do not use eth0 or eth1 for random tests
One or other will be the control interface of the box
1 parent 2e968d8 commit dd6b643

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

systemvm/patches/debian/config/opt/cloud/bin/update_config.py

100644100755
File mode changed.

test/systemvm/test_update_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def test_various_random_ip_addresses(self):
101101
ip_address["add"] = r.choice((True, False))
102102
ip_address["one_to_one_nat"] = r.choice((True, False))
103103
ip_address["first_i_p"] = r.choice((True, False))
104-
ip_address["nic_dev_id"] = r.choice((0, 1, 2))
104+
ip_address["nic_dev_id"] = r.choice((2, 3))
105105
if ip_address["nic_dev_id"] > 0:
106106
ip_address["new_nic"] = True
107107
else:

0 commit comments

Comments
 (0)