commit | c6f7e2269c0c1b5f76cbe983f9784f7db95b100f | [log] [tgz] |
---|---|---|
author | zhu.fanglei <zhu.fanglei@zte.com.cn> | Thu Oct 12 15:25:27 2017 +0800 |
committer | zhufl <zhu.fanglei@zte.com.cn> | Tue Oct 17 00:53:50 2017 +0000 |
tree | 6e7213eae2f332d2611320ddaaba1723bd5a28a0 | |
parent | 6dc6040afd72561169aad27abd6ccba65523f932 [diff] |
Rename base.rebuild_server to base.recreate_server In https://review.openstack.org/#/c/503515/, compute.base. rebuild_server will be renamed as recreate_server to distinguish from servers_client.rebuild_server, so this is to change the helper name in tempest plugin accordingly. Depends-on: I1589750870dff1a2681192e2f3d151ef18bf4d2a Change-Id: I142ef812ef56595e8b0c64f1c1d4fe52342ea791
diff --git a/patrole_tempest_plugin/tests/api/compute/test_server_actions_rbac.py b/patrole_tempest_plugin/tests/api/compute/test_server_actions_rbac.py index 6aa202c..da6aca8 100644 --- a/patrole_tempest_plugin/tests/api/compute/test_server_actions_rbac.py +++ b/patrole_tempest_plugin/tests/api/compute/test_server_actions_rbac.py
@@ -54,8 +54,8 @@ server = self.create_test_server(wait_until='ACTIVE') self.__class__.server_id = server['id'] except Exception: - # Rebuilding the server in case something happened during a test - self.__class__.server_id = self.rebuild_server(self.server_id) + # Recreating the server in case something happened during a test + self.__class__.server_id = self.recreate_server(self.server_id) def _stop_server(self): self.servers_client.stop_server(self.server_id)