summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-01-08 13:01:12 +0000
committerGerrit Code Review <review@openstack.org>2020-01-08 13:01:12 +0000
commit8302cccff658190d145d4411aeb8df12420c987f (patch)
tree744614c95eb6b006f1b7c3e494b9a59aca48dca9
parentb81d3a26de1dda869cf1293237317c1e5df9f63c (diff)
parent7845c0cdd310b5b25275aff239debfd72f7dceb8 (diff)
downloadnova-8302cccff658190d145d4411aeb8df12420c987f.tar.gz
Merge "Fix excessive runtime of test test_migrate_within_cell"
-rw-r--r--nova/tests/functional/test_scheduler.py3
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')