Refresh server data after fip is assigned
Change I3e99304462950c194a4d73237cfc594631ca3868 introduced a
conditional testing and now such branch is probably not tested in
tempest upstream gate. The change introduced a comparison of floating ip
to server that has old data from time where it didn't have the floating
ip.
This patch refreshes server data before the comparison.
Change-Id: I8212b1d7b2804f4226fd2297c5c595fabcd26f89
Closes-bug: #1747623
diff --git a/tempest/scenario/test_minimum_basic.py b/tempest/scenario/test_minimum_basic.py
index 0df26ea..2b35e45 100644
--- a/tempest/scenario/test_minimum_basic.py
+++ b/tempest/scenario/test_minimum_basic.py
@@ -127,6 +127,7 @@
floating_ip = self.create_floating_ip(server)
# fetch the server again to make sure the addresses were refreshed
# after associating the floating IP
+ server = self.servers_client.show_server(server['id'])['server']
address = self._get_floating_ip_in_server_addresses(
floating_ip, server)
self.assertIsNotNone(