mirror of https://github.com/apache/cloudstack.git
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:
parent
2e968d85fe
commit
dd6b643ceb
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue