Wait properly for server deletion in test_volumes_actions
test_volumes_actions used the volume client for waiting on server deletion.
Blueprint: stop-leaking
Change-Id: I032a0d6e2d52e10b7c62c24d11b4f565fdd7ef82
diff --git a/tempest/api/volume/test_volumes_actions.py b/tempest/api/volume/test_volumes_actions.py
index a22ad32..b9ea3c1 100644
--- a/tempest/api/volume/test_volumes_actions.py
+++ b/tempest/api/volume/test_volumes_actions.py
@@ -44,7 +44,7 @@
def tearDownClass(cls):
# Delete the test instance
cls.servers_client.delete_server(cls.server['id'])
- cls.client.wait_for_resource_deletion(cls.server['id'])
+ cls.servers_client.wait_for_server_termination(cls.server['id'])
super(VolumesActionsTest, cls).tearDownClass()