Fix issue with ImagesOneServerJSON test
ImagesOneServerTestJSON using wrong client for checking server status.
Change-Id: I738318d32bd82329eecd54e469aa84bc9ebea15c
Closes-Bug: #1242903
diff --git a/tempest/api/compute/images/test_images_oneserver.py b/tempest/api/compute/images/test_images_oneserver.py
index accfc35..c484005 100644
--- a/tempest/api/compute/images/test_images_oneserver.py
+++ b/tempest/api/compute/images/test_images_oneserver.py
@@ -46,7 +46,8 @@
super(ImagesOneServerTestJSON, self).setUp()
# Check if the server is in a clean state after test
try:
- self.client.wait_for_server_status(self.server_id, 'ACTIVE')
+ self.servers_client.wait_for_server_status(self.server_id,
+ 'ACTIVE')
except Exception as exc:
LOG.exception(exc)
# Rebuild server if cannot reach the ACTIVE state