The nova.tests.scheduler.test_multi_scheduler Module

Tests For Multi Scheduler

class FakeComputeScheduler

Bases: nova.scheduler.driver.Scheduler

is_fake_compute = True
schedule_theoretical(*args, **kwargs)
class FakeDefaultScheduler

Bases: nova.scheduler.driver.Scheduler

is_fake_default = True
class MultiDriverTestCase(*args, **kwargs)

Bases: nova.tests.scheduler.test_scheduler.SchedulerTestCase

Test case for multi driver.

driver_cls

alias of MultiScheduler

setUp()
test_drivers_inited()
test_update_service_capabilities()

Previous topic

The nova.tests.scheduler.test_least_cost Module

Next topic

The nova.tests.scheduler.test_rpcapi Module

This Page