nova/nova
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 Merge "Consolidate inventory refresh" 2019-01-30 22:21:07 +00:00
cells Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
cmd Merge "Add fill_virtual_interface_list online_data_migration script" 2019-01-31 13:43:35 +00:00
common
compute Merge "Force refresh instance info_cache during heal" 2019-01-31 14:01:54 +00:00
conductor Merge "Pass request_spec from compute to cell conductor on reschedule" 2019-01-16 21:12:03 +00:00
conf Merge "Fix config docs for handle_virt_lifecycle_events" 2019-01-31 10:38:28 +00:00
console Use X-Forwarded-Proto as origin protocol if present 2019-01-16 00:28:53 +00:00
consoleauth Fix stacktraces with redis caching backend 2018-09-27 13:15:11 -04:00
db Update mailinglist from dev to discuss 2018-12-05 09:44:35 +08:00
hacking Add a hacking rule for deprecated assertion methods 2018-10-25 11:49:10 +09:00
image Update mailinglist from dev to discuss 2018-12-05 09:44:35 +08:00
ipv6
keymgr
locale Imported Translations from Zanata 2018-09-23 06:53:32 +00:00
network Merge "Force refresh instance info_cache during heal" 2019-01-31 14:01:54 +00:00
notifications The field instance_name was added to InstanceCreatePayload 2019-01-15 15:27:07 +00:00
objects Merge "Add fill_virtual_interface_list online_data_migration script" 2019-01-31 13:43:35 +00:00
pci network: update pci request spec to handle trusted tags 2018-05-31 13:55:40 -04:00
policies Merge "Allow ability for non admin users to use all filters on server list." 2018-09-23 05:17:23 +00:00
privsep Convert vrouter legacy plugging to os-vif 2019-01-25 17:17:55 +02:00
scheduler Merge "Consolidate inventory refresh" 2019-01-30 22:21:07 +00:00
servicegroup Fix service list for disabled compute using MC driver 2018-08-14 14:11:22 +08:00
tests Fix race in test_volume_swap_server_with_error 2019-02-11 10:41:27 -05:00
virt Merge "unused images are always deleted (add to in-tree hper-v code)" 2019-01-31 13:07:12 +00:00
vnc Deprecate the nova-xvpvncproxy service 2018-10-15 10:03:13 +01:00
volume Make [cinder]/catalog_info no longer require a service_name 2018-11-28 18:33:30 -05:00
__init__.py
availability_zones.py
baserpc.py
block_device.py Add method to generate device names universally 2019-01-15 18:55:11 +00:00
cache_utils.py
config.py Configure placement DB context manager for nova-manage/status 2018-09-05 10:29:48 -04:00
context.py Remove NovaException logging from scatter_gather_cells 2018-11-21 12:43:35 -05:00
crypto.py Convert certificate generation to processutils. 2018-05-02 19:18:41 +10:00
debugger.py
exception.py Merge "Reject interface attach with QoS aware port" 2019-01-30 13:27:59 +00:00
exception_wrapper.py Add full traceback to ExceptionPayload in versioned notifications 2018-06-19 16:46:46 +08:00
filters.py
hooks.py
i18n.py
loadables.py
manager.py
policy.py Fix string interpolations in logging calls 2019-01-29 15:06:39 +09:00
profiler.py
quota.py Make _instances_cores_ram_count() be smart about cells 2018-11-13 03:35:33 -05:00
rc_fields.py Add bandwidth related standard resource classes 2018-11-05 17:47:13 -05:00
rpc.py Fix jsonutils.to_primitive UserWarning 2018-12-17 22:56:50 -05:00
safe_utils.py
service.py Move conductor wait_until_ready() delay before manager init 2018-08-31 12:50:10 -07:00
service_auth.py
test.py Merge "Remove args(os=False) in monkey_patch" 2019-01-18 18:19:45 +00:00
utils.py Merge "Remove args(os=False) in monkey_patch" 2019-01-18 18:19:45 +00:00
version.py
weights.py Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
wsgi.py