nova/nova/tests/unit/scheduler
Matt Riedemann 725b37f515 Init HostState.failed_builds
If _update_from_compute_node returns early and the HostState is
not filtered out we can hit an AttributeError in the
BuildFailureWeigher because the failed_builds attribute is not
set. This simply initializes the attribute like the other stats
fields.

Change-Id: I5f8e4d32c6a1d6b61396b4fa11c5d776f432df0c
Closes-Bug: #1834691
(cherry picked from commit d540903463)
2019-06-29 02:36:21 +00:00
..
client Change a log level for overwriting allocation 2019-04-16 13:34:47 +00:00
filters Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
weights Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fakes.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
ironic_fakes.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_filter_scheduler.py Fix WeighedHost logging regression 2019-03-05 17:16:23 -05:00
test_filters.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_host_filters.py Modify left filters for RequestSpec 2015-12-11 12:27:20 +01:00
test_host_manager.py Init HostState.failed_builds 2019-06-29 02:36:21 +00:00
test_request_filter.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_rpcapi.py Use long_rpc_timeout in select_destinations RPC call 2018-11-20 09:03:53 -05:00
test_scheduler.py Remove the CachingScheduler 2018-10-18 17:55:36 -04:00
test_scheduler_utils.py Transform compute_task notifications 2018-11-21 16:23:28 +09:00
test_utils.py Disable limit if affinity(anti)/same(different)host is requested 2019-05-22 14:30:57 -04:00