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
This commit is contained in:
parent
8c278b20b9
commit
f979a04b1b
|
@ -127,6 +127,7 @@ class TestMinimumBasicScenario(manager.ScenarioTest):
|
|||
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(
|
||||
|
|
Loading…
Reference in New Issue