The nova.tests.scheduler.test_chance_scheduler Module

Tests For Chance Scheduler.

class ChanceSchedulerTestCase(*args, **kwargs)

Bases: nova.tests.scheduler.test_scheduler.SchedulerTestCase

Test case for Chance Scheduler.

driver_cls

alias of ChanceScheduler

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_select_hosts()

Previous topic

The nova.tests.scheduler.fakes Module

Next topic

The nova.tests.scheduler.test_filter_scheduler Module

This Page