Previous topic

The cinder.tests.scheduler.test_rpcapi Module

Next topic

The cinder.tests.test_HpSanISCSIDriver Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Cinder 2011.2 docs or all OpenStack docs too.

The cinder.tests.scheduler.test_scheduler Module

Tests For Scheduler

class SchedulerDriverBaseTestCase(methodName='runTest')

Bases: cinder.tests.scheduler.test_scheduler.SchedulerTestCase

Test cases for base scheduler driver class methods that can’t will fail if the driver is changed

test_unimplemented_schedule()
class SchedulerDriverModuleTestCase(methodName='runTest')

Bases: cinder.test.TestCase

Test case for scheduler driver module methods

setUp()
test_cast_to_host_unknown_topic()
test_cast_to_host_volume_topic()
test_cast_to_volume_host_no_update_db()
test_cast_to_volume_host_update_db_with_volume_id()
test_cast_to_volume_host_update_db_without_volume_id()
class SchedulerManagerTestCase(methodName='runTest')

Bases: cinder.test.TestCase

Test case for scheduler manager

exception AnException

Bases: exceptions.Exception

SchedulerManagerTestCase.driver_cls

alias of Scheduler

SchedulerManagerTestCase.driver_cls_name = 'cinder.scheduler.driver.Scheduler'
SchedulerManagerTestCase.manager_cls

alias of SchedulerManager

SchedulerManagerTestCase.setUp()
SchedulerManagerTestCase.test_1_correct_init()
SchedulerManagerTestCase.test_existing_method()
SchedulerManagerTestCase.test_get_host_list()
SchedulerManagerTestCase.test_get_service_capabilities()
SchedulerManagerTestCase.test_missing_method_fallback()
SchedulerManagerTestCase.test_update_service_capabilities()
class SchedulerTestCase(methodName='runTest')

Bases: cinder.test.TestCase

Test case for base scheduler driver class

driver_cls

alias of Scheduler

setUp()
test_get_host_list()
test_get_service_capabilities()
test_hosts_up()
test_update_service_capabilities()