nova/nova/tests/functional
Matt Riedemann 4afa8c2b97 Fix race fail in test_resize_with_reschedule_then_live_migrate
The assertion in the test that the migration status is 'completed'
is flawed in that it assumes when the instance status is 'ACTIVE'
the migration is completed, which isn't True, since the instance
status gets changed before the migration is completed, but they are
very close in time so there is a race, which is how this test slipped
by. This fixes the issue by polling the migration status until it
is actually completed or we timeout.

Change-Id: I61f745667f4c003d7e3ca6f2f9a99194930ac892
Closes-Bug: #1762876
2018-04-11 10:43:34 -04:00
..
api Move test_report_client out of placement namespace 2018-04-06 22:56:03 +01:00
api_sample_tests remove unnecessary conf imports 2018-03-09 14:30:10 -05:00
compute Move test_report_client out of placement namespace 2018-04-06 22:56:03 +01:00
db Merge "Add AggregateList.get_by_metadata() query method" 2018-03-30 17:13:09 +00:00
libvirt Merge "Bump minimum required libvirt/qemu versions for Pike" 2017-02-24 02:50:33 +00:00
notification_sample_tests Merge "Transform live_migration.post.dest notifications" 2018-03-13 16:10:31 +00:00
regressions Fix race fail in test_resize_with_reschedule_then_live_migrate 2018-04-11 10:43:34 -04:00
wsgi Ensure attachment_id always exists for block device mapping 2018-02-21 14:29:31 -05:00
__init__.py move eventlet GREENDNS override to top level 2014-12-08 17:41:03 -05:00
api_paste_fixture.py Remove legacy v2 API functional tests 2016-05-04 18:17:23 +08:00
api_samples_test_base.py Add pagination and changes-since for instance-actions 2017-12-14 07:42:17 +00:00
integrated_helpers.py Functional test: evacuate with no compute 2018-02-20 13:46:18 +00:00
test_aggregates.py Add require_tenant_aggregate request filter 2018-03-28 15:58:46 -07:00
test_compute_mgr.py remove unnecessary conf imports 2018-03-09 14:30:10 -05:00
test_images.py Add create image functional negative tests 2016-12-26 14:15:14 +09:00
test_instance_actions.py make microversion a client level construct for tests 2016-02-24 11:02:05 -05:00
test_legacy_v2_compatible_wrapper.py Trivial-Fix: Fix typos 2016-06-13 06:41:08 +00:00
test_list_servers_ip_filter.py Trivial: Nix duplicate PlacementFixture() in test 2017-12-01 15:39:28 -06:00
test_login.py update api_samples code to use better variables 2015-12-14 11:23:26 +08:00
test_metadata.py Remove unused logging import 2017-02-17 15:17:51 +07:00
test_middleware.py Removes unnecessary utf-8 encoding 2016-12-20 10:27:01 +07:00
test_multiattach.py [api] Allow multi-attach in compute api 2018-01-22 10:45:13 -05:00
test_nova_manage.py Unmap compute nodes when deleting host mappings in delete cell operation 2018-03-15 16:41:03 +00:00
test_report_client.py Move test_report_client out of placement namespace 2018-04-06 22:56:03 +01:00
test_server_group.py Add late server group policy check to rebuild 2018-02-06 13:54:12 +01:00
test_servers.py Make generation optional in ProviderTree 2018-04-02 07:58:38 +00:00