Do not use eth0 or eth1 for random tests

One or other will be the control interface of the box
This commit is contained in:
Ian Southam 2014-08-11 15:23:47 +02:00 committed by wilderrodrigues
parent 2e968d85fe
commit dd6b643ceb
2 changed files with 1 additions and 1 deletions

View File

View File

@ -101,7 +101,7 @@ class UpdateConfigTestCase(SystemVMTestCase):
ip_address["add"] = r.choice((True, False))
ip_address["one_to_one_nat"] = r.choice((True, False))
ip_address["first_i_p"] = r.choice((True, False))
ip_address["nic_dev_id"] = r.choice((0, 1, 2))
ip_address["nic_dev_id"] = r.choice((2, 3))
if ip_address["nic_dev_id"] > 0:
ip_address["new_nic"] = True
else: