deb-murano/murano_tempest_tests
Felipe Monteiro 10752e6bba Renames wait_for_volume_status in tempest tests for consistency.
A recent change in Tempest [0] is breaking 2 murano tempest tests;
wait_for_volume_status was changed to wait_for_volume_resource_status,
causing an AttributeError to be thrown [1].

Additionally, a recent change in Cinder [2] removed multiattach
for all drivers, causing one of the murano tempest scenario tests
involving deploying an environment using a multiattach-enabled volume
to fail.

This patch renames the function wait_for_volume_status to be compatible
with the recent Tempest change. It also uses staticmethod delete
functions provided by the Tempest API for delete_volume and
delete_snapshot. It also removes the multiattach property in the
relevant tempest test.

[0] https://review.openstack.org/#/c/394588/29/tempest/common/waiters.py
[1] http://logs.openstack.org/01/435101/2/check/gate-tempest-dsvm-murano-api-ubuntu-xenial/911be71/console.html
[2] https://review.openstack.org/#/c/428365/

Related-Bug: #1668848
Co-Authored-By: ricolin <rico.lin@easystack.cn>
Change-Id: I15ae3f9c931ba606883a22a5af719f79685093a7
2017-03-03 06:25:54 +03:00
..
extras Repair cinder integration tests 2016-10-17 16:50:33 +03:00
services Add environment edit API 2016-10-06 12:48:57 +00:00
tests Renames wait_for_volume_status in tempest tests for consistency. 2017-03-03 06:25:54 +03:00
__init__.py Initial commit for service broker tests in tempest plugin 2015-11-06 00:48:40 +03:00
clients.py Revert "Fix config group for SSL in tempest test" 2016-08-21 22:20:31 +00:00
config.py Make use of already registered group 2017-02-02 17:36:35 +05:30
plugin.py Make use of already registered group 2017-02-02 17:36:35 +05:30
utils.py Make tests compose packages in temporarily directory 2016-09-08 13:02:20 +00:00