Test class for Ironic BaseConductorManager.
-
class ironic.tests.unit.conductor.test_base_manager.KeepAliveTestCase(*args, **kwargs)[source]
Bases: ironic.tests.unit.conductor.mgr_utils.ServiceSetUpMixin, ironic.tests.unit.db.base.DbTestCase
-
test__conductor_service_record_keepalive()[source]
-
test__conductor_service_record_keepalive_failed_db_conn()[source]
-
class ironic.tests.unit.conductor.test_base_manager.ManagerSpawnWorkerTestCase(*args, **kwargs)[source]
Bases: ironic.tests.base.TestCase
-
setUp()[source]
-
test__spawn_worker()[source]
-
test__spawn_worker_none_free()[source]
-
class ironic.tests.unit.conductor.test_base_manager.StartConsolesTestCase(*args, **kwargs)[source]
Bases: ironic.tests.unit.conductor.mgr_utils.ServiceSetUpMixin, ironic.tests.unit.db.base.DbTestCase
-
test__start_consoles()[source]
-
test__start_consoles_failed()[source]
-
test__start_consoles_no_console_enabled()[source]
-
test__start_consoles_node_locked(*args, **keywargs)[source]
-
test__start_consoles_node_not_found(*args, **keywargs)[source]
-
class ironic.tests.unit.conductor.test_base_manager.StartStopTestCase(*args, **kwargs)[source]
Bases: ironic.tests.unit.conductor.mgr_utils.ServiceSetUpMixin, ironic.tests.unit.db.base.DbTestCase
-
test_del_host_waits_on_workerpool(*args, **keywargs)[source]
-
test_prevent_double_start(*args, **keywargs)[source]
-
test_start_clears_conductor_locks(*args, **keywargs)[source]
-
test_start_fails_on_missing_driver(*args, **keywargs)[source]
-
test_start_fails_on_no_driver(*args, **keywargs)[source]
-
test_start_registers_conductor(*args, **keywargs)[source]
-
test_start_registers_driver_names(*args, **keywargs)[source]
-
test_start_registers_driver_specific_tasks(*args, **keywargs)[source]
-
test_stop_doesnt_unregister_conductor(*args, **keywargs)[source]
-
test_stop_uninitialized_conductor(*args, **keywargs)[source]
-
test_stop_unregisters_conductor(*args, **keywargs)[source]
-
test_warning_on_low_workers_pool(*args, **keywargs)[source]