Fix server id reference in _rebuild_server_and_check()
Reference to server id is broken now because ServerActionsTestJSON(self) object has no attribute 'server'. server attribute is passed as a method's argument. Change-Id: I7ef97019a9db973749fa81875cfb9e5e837e6bea
This commit is contained in:
parent
beda3306a2
commit
5928eeb68c
@ -190,7 +190,7 @@ class ServerActionsTestJSON(base.BaseV2ComputeTest):
|
||||
server, self.os_primary, tenant_network,
|
||||
True, self.validation_resources, "SSHABLE", True)
|
||||
else:
|
||||
waiters.wait_for_server_status(self.client, self.server['id'],
|
||||
waiters.wait_for_server_status(self.client, server['id'],
|
||||
'ACTIVE')
|
||||
|
||||
msg = ('Server was not rebuilt to the original image. '
|
||||
|
Loading…
Reference in New Issue
Block a user