Tests For Least Cost Scheduler
-
class nova.tests.scheduler.test_least_cost_scheduler.FakeHost(host_id, free_ram, io)
Bases: object
-
class nova.tests.scheduler.test_least_cost_scheduler.LeastCostSchedulerTestCase(methodName='runTest')
Bases: nova.test.TestCase
-
assertWeights(expected, num, request_spec, hosts)
-
setUp()
-
tearDown()
-
test_compute_fill_first_cost_fn()
-
test_cost_fn_weights()
-
test_no_hosts()
-
test_noop_cost_fn()
-
class nova.tests.scheduler.test_least_cost_scheduler.WeightedSumTestCase(methodName='runTest')
Bases: nova.test.TestCase
-
test_basic_costing()
-
test_empty_domain()