nova/nova/tests/functional
Matt Riedemann 03e4e3ce13 Fix race in test_volume_swap_server_with_error
Change I03c8e8225e51fd80580772752c0b292987e34218 added
another notification to the list checked in
test_volume_swap_server_with_error and then change
Id587967ea4f9980c292492e2f659bf55fb037b28 relied on
checking the last notification in the list (compute.exception)
but per the note in the test, that last exception can
race to show up by the time we check the size of the
notification list which can result in an IndexError.

This change fixes the race by just waiting for the
compute.exception notification rather than the racy
_wait_until_swap_volume_error which depended on the
cinder fixture swap_error variable (which is removed
in this change).

Change-Id: I8165fcd98e11b9155640559a36ae90a38f63c0dd
Closes-Bug: #1814177
2019-02-11 10:41:27 -05:00
..
api Use external placement in functional tests 2018-12-12 18:46:49 +00:00
api_sample_tests Merge "Move interface enabling to privsep." 2019-01-25 12:32:49 +00:00
compute Use external placement in functional tests 2018-12-12 18:46:49 +00:00
db Add fill_virtual_interface_list online_data_migration script 2019-01-30 10:03:19 +00:00
libvirt Reduce calls to placement from _ensure 2019-01-16 18:34:34 +00:00
notification_sample_tests Fix race in test_volume_swap_server_with_error 2019-02-11 10:41:27 -05:00
regressions Add functional regression recreate test for bug 1790204 2018-12-20 18:09:02 -05:00
wsgi Use external placement in functional tests 2018-12-12 18:46:49 +00:00
__init__.py Remove args(os=False) in monkey_patch 2019-01-04 21:56:50 +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 Merge "Fix os-simple-tenant-usage result order" 2018-10-27 08:57:52 +00:00
fixtures.py Use external placement in functional tests 2018-12-12 18:46:49 +00:00
integrated_helpers.py Reject interface attach with QoS aware port 2019-01-24 16:56:43 +01:00
test_aggregates.py Use external placement in functional tests 2018-12-12 18:46:49 +00:00
test_boot_from_volume.py Properly track local root disk usage during moves 2018-10-08 17:33:49 -04:00
test_compute_mgr.py Transform compute_task notifications 2018-11-21 16:23:28 +09:00
test_conf_max_attach_disk_devices.py Add configuration of maximum disk devices to attach 2019-01-30 15:47:10 +00:00
test_images.py Add create image functional negative tests 2016-12-26 14:15:14 +09:00
test_instance_actions.py Improve NeutronFixture and remove unncessary stubbing 2018-08-02 15:15:03 +02: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 Use external placement in functional tests 2018-12-12 18:46:49 +00:00
test_login.py update api_samples code to use better variables 2015-12-14 11:23:26 +08:00
test_metadata.py Use external placement in functional tests 2018-12-12 18:46:49 +00:00
test_middleware.py Removes unnecessary utf-8 encoding 2016-12-20 10:27:01 +07:00
test_multiattach.py Improve NeutronFixture and remove unncessary stubbing 2018-08-02 15:15:03 +02:00
test_nova_manage.py Use external placement in functional tests 2018-12-12 18:46:49 +00:00
test_report_client.py Consolidate inventory refresh 2019-01-16 18:34:39 +00:00
test_server_group.py Use external placement in functional tests 2018-12-12 18:46:49 +00:00
test_servers.py Merge "Reject interface attach with QoS aware port" 2019-01-30 13:27:59 +00:00