[test] test_trunk-limit the "ip address" command execution
Limit of 30 times the command "ip address" will be executed for 300 seconds. Change-Id: Ib421c9a5303157f7939a079ab8dcf238f3f9d5f0
This commit is contained in:
parent
3402df05fe
commit
a281dfa416
|
@ -52,7 +52,7 @@ class RebootTrunkTest(testtools.TestCase):
|
|||
"""Check Nova server VLAN port IP addresses"""
|
||||
self.stack.ensure_server_status('ACTIVE')
|
||||
expected = set(self.stack.list_vlan_fixed_ips())
|
||||
for attempt in tobiko.retry():
|
||||
for attempt in tobiko.retry(timeout=300, interval=10):
|
||||
actual = set(ip.list_ip_addresses(device=self.stack.vlan_device,
|
||||
ssh_client=self.stack.ssh_client,
|
||||
scope='global'))
|
||||
|
|
Loading…
Reference in New Issue