nova/nova/tests
melanie witt a5daa0ddb3 Replace time.sleep(10) with service forced_down in tests
The server group functional tests are doing time.sleep(10) in order
to make sure a stopped compute service is considered "down" by the nova
compute API.

Instead of sleeping, we can set the service as "forced_down" to get the
desired "down" compute service status and avoid unnecessary delays in
these tests.

Unnecessary service start() calls are also removed in this change. They
appear at the end of tests and services are started during each test
setUp() and killed during each test tearDown() via the ServiceFixture.

Closes-Bug: #1783565

Change-Id: I74f64b68e4b33ee0f8c45fdc5f570c7e12e05d3b
(cherry picked from commit 1c93ca82b8)
2019-11-26 13:58:13 +00:00
..
functional Replace time.sleep(10) with service forced_down in tests 2019-11-26 13:58:13 +00:00
unit Merge "Join migration_context and flavor in Migration.instance" into stable/train 2019-11-26 05:52:58 +00:00
__init__.py
fixtures.py Use admin neutron client to see if instance has qos ports 2019-11-13 13:40:59 +01:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00