heat/heat/tests/openstack/nova
ricolin 33972cce57 Check task_state of instance before volume actions
Check task_state before verify resize or before detachment.

We need to make sure the task_state moved out from resize_finish before
we trigger some action like attach/detach volume.

So when we update flvor and volume at the samethime, the resize action
will not affect volume attachment/detachment.

Depends-On: https://review.opendev.org/#/c/700512/

Change-Id: I64033d5a0a8fea5c4fd93b1deb111d3d8fba0cf7
Story: #2007042
Task: #37854
Task: #37855
Task: #37869
(cherry picked from commit 40ca7e9e63)
2020-04-26 07:33:11 +00:00
..
__init__.py Change namespace for Nova resources and tests 2015-11-18 08:42:29 +08:00
fakes.py Check task_state of instance before volume actions 2020-04-26 07:33:11 +00:00
test_flavor.py Make private flavor tenant access works 2017-09-27 16:47:26 +08:00
test_floatingip.py Change NovaClientPlugin to use MicroversionMixin 2018-06-29 09:37:44 +05:30
test_host_aggregate.py Nova::HostAggregate observe reality implement 2016-08-16 09:31:38 +00:00
test_keypair.py Refactor resource plugins for microversion usage 2018-06-29 09:37:44 +05:30
test_quota.py Replace assertRaisesRegexp with assertRaisesRegex 2017-05-19 18:13:59 +05:30
test_server.py Unit tests: Fix mock errors with too few side effects 2018-08-10 17:25:13 -04:00
test_server_group.py Use more specific asserts in tests 2016-11-22 08:12:35 +01:00