diff --git a/contrib/ci/common.sh b/contrib/ci/common.sh index a541bd40fd..99bc98cd62 100755 --- a/contrib/ci/common.sh +++ b/contrib/ci/common.sh @@ -1,6 +1,6 @@ # Environment variables -export MANILA_TEMPEST_COMMIT="d160c29b" # 01 Dec, 2015 +export MANILA_TEMPEST_COMMIT="047f6b27" # 28 Jan, 2016 # ---------------------------------------------- diff --git a/manila_tempest_tests/tests/scenario/test_share_basic_ops.py b/manila_tempest_tests/tests/scenario/test_share_basic_ops.py index 5373198bdb..fe6678772b 100644 --- a/manila_tempest_tests/tests/scenario/test_share_basic_ops.py +++ b/manila_tempest_tests/tests/scenario/test_share_basic_ops.py @@ -48,7 +48,7 @@ class ShareBasicOpsBase(manager.ShareScenarioTest): if not hasattr(self, 'flavor_ref'): self.flavor_ref = CONF.share.client_vm_flavor_ref if CONF.share.image_with_share_tools: - images = self.images_client.list_images()["images"] + images = self.compute_images_client.list_images()["images"] for img in images: if img["name"] == CONF.share.image_with_share_tools: self.image_ref = img['id'] @@ -69,12 +69,12 @@ class ShareBasicOpsBase(manager.ShareScenarioTest): create_kwargs = { 'key_name': self.keypair['name'], 'security_groups': security_groups, + 'wait_until': 'ACTIVE', } if CONF.share.multitenancy_enabled: create_kwargs['networks'] = [{'uuid': self.net['id']}, ] - instance = self.create_server(image=self.image_ref, - create_kwargs=create_kwargs, - flavor=self.flavor_ref) + instance = self.create_server( + image_id=self.image_ref, flavor=self.flavor_ref, **create_kwargs) return instance def init_ssh(self, instance, do_ping=False):