nova/nova/tests/functional
Balazs Gibizer b47656272c Fix false positive server group functional tests
Most of the evacuate tests in nova.tests.functional.test_server_group
could produce false positive results becuase of multiple reasons:
* test did not wait for the migration to finish in done or error state
  before checked the instance host
* test did not asserted that the instance host is changed during the
  evacuation

Also the evacuation tests that starts up a third compute failed to add
the magic fake.set_nodes() call making the third node unusable and
causing unexpected NoValidHost during the evacuation. However it was
not visible until the above mistakes are fixed in the test

Closes-Bug: #1739013

 Conflicts:
	nova/tests/functional/test_servers.py

NOTE(melwitt): The conflict was from methods in Pike that don't exist
in Ocata. Also, in Ocata, conductor doesn't set the migration status
to 'error' upon NoValidHost during rebuild so we can't wait for that
in the tests.

Change-Id: Idc4e3d8ac7c99c09c6f4860dc0c7a05f28a35627
(cherry picked from commit ec04052736)
(cherry picked from commit 1558893de1)
2018-01-23 22:36:03 +00:00
..
api Validate new image via scheduler during rebuild 2017-11-14 10:41:06 -05:00
api_sample_tests Fix 'force' parameter in os-quota-sets PUT schema 2017-12-07 09:53:43 -05:00
db Raise MarkerNotFound if BuildRequestList.get_by_filters doesn't find marker 2018-01-03 12:48:04 -05:00
libvirt Scheduler calling the Placement API 2017-01-27 16:36:34 -08:00
notification_sample_tests Merge "Fix race condition in instance.update sample test" 2017-01-30 15:33:33 +00:00
regressions Get original image_id from volume for volume-backed instance rebuild 2017-12-05 10:40:10 -05:00
wsgi Fix misuse of assertIsNone 2017-08-11 00:33:20 +00: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 Simple tenant usage pagination 2016-12-14 03:33:50 +00:00
integrated_helpers.py Fix false positive server group functional tests 2018-01-23 22:36:03 +00:00
test_compute_mgr.py rt: use a single ResourceTracker object instance 2017-01-16 14:09:25 -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_login.py update api_samples code to use better variables 2015-12-14 11:23:26 +08:00
test_metadata.py Use a service account to make vendordata requests. 2017-01-26 13:39:46 +00:00
test_middleware.py Removes unnecessary utf-8 encoding 2016-12-20 10:27:01 +07:00
test_server_group.py Fix false positive server group functional tests 2018-01-23 22:36:03 +00:00
test_servers.py Refined fix for validating image on rebuild 2017-11-28 09:48:20 -05:00