Tests For Chance Scheduler.
-
class ChanceSchedulerTestCase(methodName='runTest')
Bases: nova.tests.scheduler.test_scheduler.SchedulerTestCase
Test case for Chance Scheduler.
-
driver_cls
alias of ChanceScheduler
-
test_basic_schedule_fallback()
-
test_basic_schedule_fallback_no_hosts()
-
test_basic_schedule_run_instance()
-
test_basic_schedule_run_instance_no_hosts()
-
test_filter_hosts_avoid()
Test to make sure _filter_hosts() filters original hosts if
avoid_original_host is True.
-
test_filter_hosts_no_avoid()
Test to make sure _filter_hosts() does not filter original
hosts if avoid_original_host is False.
-
test_schedule_prep_resize_doesnt_update_host()
-
test_scheduler_includes_launch_index()