From a281dfa4160aae211e7da78be7e62217c12b6c9c Mon Sep 17 00:00:00 2001 From: Fiorella Yanac Date: Mon, 19 Dec 2022 13:15:48 +0100 Subject: [PATCH] [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 --- tobiko/tests/scenario/neutron/test_trunk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tobiko/tests/scenario/neutron/test_trunk.py b/tobiko/tests/scenario/neutron/test_trunk.py index 152dfb01b..dedbd7035 100644 --- a/tobiko/tests/scenario/neutron/test_trunk.py +++ b/tobiko/tests/scenario/neutron/test_trunk.py @@ -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'))