nova/nova/tests/functional
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
..
api Include both VCPU and PCPU in core quota count 2019-09-18 00:21:10 +01:00
api_sample_tests Reduce scope of 'path' query parameter to noVNC consoles 2019-10-01 22:16:42 +00:00
compute Error out interrupted builds 2019-10-08 06:53:48 +00:00
db DB API changes to get non-matching aggregates from metadata 2019-09-12 16:56:32 -05:00
libvirt Add reshaper for PCPU 2019-09-18 00:21:10 +01:00
notification_sample_tests Fix a misuse of assertGreaterEqual 2019-09-13 20:11:15 +09:00
regressions Fix listing deleted servers with a marker 2019-10-23 14:50:06 -04:00
wsgi Block deleting compute services with in-progress migrations 2019-11-15 09:16:16 -05:00
__init__.py Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
api_paste_fixture.py Use external placement in functional tests 2018-12-12 18:46:49 +00:00
api_samples_test_base.py hacking: Resolve W605 (invalid escape sequence) 2019-06-24 14:24:06 -05:00
fixtures.py Convert driver supported capabilities to compute node provider traits 2019-02-28 23:28:19 +00:00
integrated_helpers.py Merge "Block deleting compute services with in-progress migrations" into stable/train 2019-11-22 17:02:04 +00:00
test_aggregates.py Move HostNameWeigher to a common fixture 2019-09-25 09:57:38 +02:00
test_availability_zones.py Remove global state from the FakeDriver 2019-06-21 10:37:20 +02:00
test_boot_from_volume.py Docs and functional test for max_local_block_devices 2019-08-23 12:12:08 -04:00
test_compute_mgr.py Fup for the bandwidth series 2019-02-27 10:23:15 +01:00
test_conf_max_attach_disk_devices.py Rename CinderFixtureNewAttachFlow to CinderFixture 2019-07-01 16:00:52 -05:00
test_cross_az_attach.py Add functional tests for [cinder]/cross_az_attach=False 2019-09-24 13:23:12 -04:00
test_images.py Share snapshot image membership with instance owner 2019-02-08 18:06:27 -05:00
test_instance_actions.py Improve NeutronFixture and remove unncessary stubbing 2018-08-02 15:15:03 +02:00
test_json_filter.py Move HostNameWeigher to a common fixture 2019-09-25 09:57:38 +02:00
test_legacy_v2_compatible_wrapper.py Improve NeutronFixture and remove unncessary stubbing 2018-08-02 15:15:03 +02:00
test_list_servers_ip_filter.py tests: Stop starting consoleauth in functional tests 2019-06-17 15:18:31 +01:00
test_login.py update api_samples code to use better variables 2015-12-14 11:23:26 +08:00
test_metadata.py Handle unsetting '[DEFAULT] dhcp_domain' 2019-04-15 15:34:04 -04:00
test_middleware.py Removes unnecessary utf-8 encoding 2016-12-20 10:27:01 +07:00
test_multiattach.py Rename CinderFixtureNewAttachFlow to CinderFixture 2019-07-01 16:00:52 -05:00
test_nova_manage.py nova-manage db archive_deleted_rows is not multi-cell aware 2019-08-27 06:01:58 +00:00
test_report_client.py Use microversion in put allocations in test_report_client 2019-09-02 11:40:35 +01:00
test_server_external_events.py API microversion 2.76: Add 'power-update' external event 2019-08-15 13:19:44 -04:00
test_server_faults.py Replace non-nova server fault message 2019-08-06 10:22:28 -04:00
test_server_group.py Replace time.sleep(10) with service forced_down in tests 2019-11-26 13:58:13 +00:00
test_servers.py Use admin neutron client to see if instance has qos ports 2019-11-13 13:40:59 +01:00
test_servers_provider_tree.py hacking: Resolve W605 (invalid escape sequence) 2019-06-24 14:24:06 -05:00