diff options
author | Zuul <zuul@review.opendev.org> | 2020-01-08 13:01:12 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2020-01-08 13:01:12 +0000 |
commit | 8302cccff658190d145d4411aeb8df12420c987f (patch) | |
tree | 744614c95eb6b006f1b7c3e494b9a59aca48dca9 | |
parent | b81d3a26de1dda869cf1293237317c1e5df9f63c (diff) | |
parent | 7845c0cdd310b5b25275aff239debfd72f7dceb8 (diff) | |
download | nova-8302cccff658190d145d4411aeb8df12420c987f.tar.gz |
Merge "Fix excessive runtime of test test_migrate_within_cell"
-rw-r--r-- | nova/tests/functional/test_scheduler.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/tests/functional/test_scheduler.py b/nova/tests/functional/test_scheduler.py index d9953cdbbc..5d85219600 100644 --- a/nova/tests/functional/test_scheduler.py +++ b/nova/tests/functional/test_scheduler.py @@ -94,5 +94,6 @@ class MultiCellSchedulerTestCase(test.TestCase, # Force the server onto compute1 in cell1 so we do not accidentally # land on compute3 in cell2 and fail to migrate. - self._test_create_and_migrate(expected_status=202, + _, server = self._test_create_and_migrate(expected_status=202, az='nova:compute1') + self._wait_for_state_change(server, 'VERIFY_RESIZE') |