nova/nova
Balazs Gibizer 937db90146 Stabilize test_live_migration_abort func test
The test_live_migration_abort test step in the
test_live_migration_actions notification sample test was unstable.
The test starts a live migration and then deletes the migration object
via the REST API to abort it. The test randomly failed to find the
migration object on the REST API. Based on the comparision of the logs
of the successful and unsuccesful runs it was visible that in the
unsuccesful case the test gave up to wait for the migration object too
early. In a succesful run it took 1.5 seconds after the the migration
API call to have the migration object appear on the API while in an
unsuccessful case the test gave up after 1 second.

This early give up was cause by the fact that the loop trying to
get a migration does not applied any delay between such trials and
therefore the 20 attempts run out quickly.

This patch introduces a short sleep between trials to stabilize the
test.

Change-Id: I6be3b236d8eadcde5714c08069708dff303dfd4d
Closes-Bug: #1736976
2017-12-12 16:50:39 +01:00
..
CA
api Merge "Follow up on removing old-style quotas code" 2017-12-09 07:24:15 +00:00
cells Cleanup build_request_spec 2017-11-10 12:03:39 +11:00
cmd Merge "Follow up on removing old-style quotas code" 2017-12-09 07:24:15 +00:00
common
compute Merge "remove glance usage inside compute" 2017-12-12 00:09:59 +00:00
conductor Make live migration hold resources with a migration allocation 2017-12-11 06:53:02 -08:00
conf Merge "Add PowerVM to compute_driver options" 2017-12-07 00:06:22 +00:00
console console: introduce basic framework for security proxying 2017-09-28 16:39:22 +01:00
consoleauth Merge "Remove translation of log messages" 2017-08-10 11:39:03 +00:00
db Merge "Follow up on removing old-style quotas code" 2017-12-09 07:24:15 +00:00
hacking Amend uuid4 hacking rule 2017-09-04 17:34:46 +00:00
image remove glance usage inside compute 2017-12-01 00:02:38 +08:00
ipv6
keymgr Remove deprecated keymgr code 2017-09-11 15:48:30 -04:00
locale Imported Translations from Zanata 2017-08-10 11:34:33 +00:00
network Merge "Reduce code complexity - linux_net.py" 2017-12-01 09:00:15 +00:00
notifications Merge "Address nits from service create/destroy notification review" 2017-12-11 21:24:09 +00:00
objects Merge "Make live migration hold resources with a migration allocation" 2017-12-11 23:59:59 +00:00
pci [Trivial] docstrings, typos, minor refactoring 2017-08-28 08:33:58 -05:00
policies Add microversion to allow setting flavor description 2017-11-15 22:10:39 +00:00
privsep Move last_bytes into the path module 2017-11-06 10:30:21 +02:00
scheduler Make live migration hold resources with a migration allocation 2017-12-11 06:53:02 -08:00
servicegroup iso8601.is8601.Utc No Longer Exists 2017-08-29 19:26:55 -04:00
tests Stabilize test_live_migration_abort func test 2017-12-12 16:50:39 +01:00
virt Merge "Add new style volume attachment support to block_device.py" 2017-12-09 02:58:58 +00:00
vnc
volume Implement new attach Cinder flow 2017-12-07 10:29:15 -05:00
__init__.py
availability_zones.py Avoid lazy-load error when getting instance AZ 2017-05-25 15:46:22 -04:00
baserpc.py
block_device.py Remove unused global variables 2017-11-25 23:24:47 +00:00
cache_utils.py remove log translation tags from nova.cells 2017-04-10 14:48:07 +00:00
config.py
context.py Get auth from context for glance endpoint 2017-11-21 10:26:42 -06:00
crypto.py
debugger.py
exception.py Modify select_destinations() to return objects and alts 2017-12-07 15:01:13 +00:00
exception_wrapper.py rename binary to source in versioned notifications 2017-07-25 17:36:04 +02:00
filters.py
hooks.py
i18n.py
loadables.py
manager.py
policy.py Add policy granularity to the Flavors API 2017-07-19 15:56:47 -04:00
profiler.py
quota.py Follow up on removing old-style quotas code 2017-12-08 22:11:24 +00:00
rpc.py Remove dead code of api.fault notification sending 2017-10-09 17:29:40 +02:00
safe_utils.py Allow wrapping of closures 2017-07-20 10:07:52 +01:00
service.py Enhance doc for nova services 2017-08-31 08:30:48 +08:00
service_auth.py Fix NoneType error when [service_user] is misconfigured 2017-11-28 12:22:30 -06:00
test.py Move restart_compute_service to a common place 2017-10-16 19:13:50 +02:00
utils.py Get auth from context for glance endpoint 2017-11-21 10:26:42 -06:00
version.py
weights.py
wsgi.py