diff options
author | Artom Lifshitz <alifshit@redhat.com> | 2022-07-12 12:03:15 -0400 |
---|---|---|
committer | Arx Cruz <arxcruz@gmail.com> | 2022-07-25 10:44:20 +0200 |
commit | 3f7c50cc3eb51d40205f990adb9103cac6a19efa (patch) | |
tree | c7cf1be8cbab32bce4fc48f2d8f0a275b3bf6261 /tempest/scenario | |
parent | 7efe29cf10c9aa5b62131f5597ea197fbfd66328 (diff) | |
download | tempest-3f7c50cc3eb51d40205f990adb9103cac6a19efa.tar.gz |
Wait for floating IP assocation in test_minimum_basic test
In bug 1923194 Tempest wasn't giving Nova a change to update its
network info cache after attaching a floating IP, leading to failures
when the floating IP association was asserted via the Nova API. The
fix was to add a waiter before doing the assertion. We were not using
that waiter in the scenario floating IP association code, leading to
bug 1980255. This patch starts doing that.
Related-bug: 1980255
Change-Id: I05e079237aec332925a88476e45071b34dc722c6
Diffstat (limited to 'tempest/scenario')
-rw-r--r-- | tempest/scenario/test_minimum_basic.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tempest/scenario/test_minimum_basic.py b/tempest/scenario/test_minimum_basic.py index 8cafd1f0f..5fcaa1010 100644 --- a/tempest/scenario/test_minimum_basic.py +++ b/tempest/scenario/test_minimum_basic.py @@ -234,6 +234,8 @@ class TestMinimumBasicScenario(manager.ScenarioTest): fip, server) # fetch the server again to make sure the addresses were refreshed # after associating the floating IP + waiters.wait_for_server_floating_ip(self.servers_client, server, + floating_ip) server = self.servers_client.show_server(server['id'])['server'] address = self._get_floating_ip_in_server_addresses( floating_ip, server) |