nova/nova/tests/functional
Balazs Gibizer 07171778e6 Fix the race in confirm resize func test
New confirm resize functional tests were added in
Ia69dace6d3b395fa113c1382e8eb52c2cc36119d. But they could be racy [1]
because the migration allocation is deleted in placement as the last
thing in the confirm_resize process. So it happens after the migration is
set to confirmed and the instance state is set to ACTIVE.

This patch changes the confirm resize tests to wait for the successful
instance action event as that is sent _after_ the migration allocation
is deleted.

[1] see the bug report

Closes-Bug: #1843433

Change-Id: Ibeb16ce16263c43bad9f148480bbebca413d8117
2019-09-10 15:48:47 +00:00
..
api API microversion 2.76: Add 'power-update' external event 2019-08-15 13:19:44 -04:00
api_sample_tests Add delete_on_termination to volume-attach API 2019-09-05 20:54:56 +08:00
compute Prevent init_host test to interfere with other tests 2019-08-13 08:36:48 -04:00
db nova-manage db archive_deleted_rows is not multi-cell aware 2019-08-27 06:01:58 +00:00
libvirt Don't duplicate PlacementFixture in libvirt func tests 2019-09-09 17:23:39 +01:00
notification_sample_tests Avoid timeout from service update notification tests 2019-08-12 17:49:11 +02:00
regressions Merge "Switch some GitHub URLs to point to opendev.org" 2019-08-29 13:52:07 +00:00
wsgi Merge "Sync COMPUTE_STATUS_DISABLED from API" 2019-07-09 17:32:03 +00:00
__init__.py Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
api_paste_fixture.py Use external placement in functional tests 2018-12-12 18:46:49 +00:00
api_samples_test_base.py hacking: Resolve W605 (invalid escape sequence) 2019-06-24 14:24:06 -05:00
fixtures.py Convert driver supported capabilities to compute node provider traits 2019-02-28 23:28:19 +00:00
integrated_helpers.py Fix the race in confirm resize func test 2019-09-10 15:48:47 +00:00
test_aggregates.py Add functional test for AggregateMultiTenancyIsolation + migrate 2019-08-29 16:06:54 -04:00
test_availability_zones.py Remove global state from the FakeDriver 2019-06-21 10:37:20 +02:00
test_boot_from_volume.py Docs and functional test for max_local_block_devices 2019-08-23 12:12:08 -04:00
test_compute_mgr.py Fup for the bandwidth series 2019-02-27 10:23:15 +01:00
test_conf_max_attach_disk_devices.py Rename CinderFixtureNewAttachFlow to CinderFixture 2019-07-01 16:00:52 -05:00
test_images.py Share snapshot image membership with instance owner 2019-02-08 18:06:27 -05:00
test_instance_actions.py Improve NeutronFixture and remove unncessary stubbing 2018-08-02 15:15:03 +02:00
test_json_filter.py Add functional test for the JsonFilter 2019-03-26 12:56:11 -04:00
test_legacy_v2_compatible_wrapper.py Improve NeutronFixture and remove unncessary stubbing 2018-08-02 15:15:03 +02:00
test_list_servers_ip_filter.py tests: Stop starting consoleauth in functional tests 2019-06-17 15:18:31 +01:00
test_login.py
test_metadata.py Handle unsetting '[DEFAULT] dhcp_domain' 2019-04-15 15:34:04 -04:00
test_middleware.py Removes unnecessary utf-8 encoding 2016-12-20 10:27:01 +07:00
test_multiattach.py Rename CinderFixtureNewAttachFlow to CinderFixture 2019-07-01 16:00:52 -05:00
test_nova_manage.py nova-manage db archive_deleted_rows is not multi-cell aware 2019-08-27 06:01:58 +00:00
test_report_client.py Use microversion in put allocations in test_report_client 2019-09-02 11:40:35 +01:00
test_server_external_events.py API microversion 2.76: Add 'power-update' external event 2019-08-15 13:19:44 -04:00
test_server_faults.py Replace non-nova server fault message 2019-08-06 10:22:28 -04:00
test_server_group.py Merge "Remove global state from the FakeDriver" 2019-06-27 17:50:11 +00:00
test_servers.py Fix the race in confirm resize func test 2019-09-10 15:48:47 +00:00
test_servers_provider_tree.py hacking: Resolve W605 (invalid escape sequence) 2019-06-24 14:24:06 -05:00