The ironic.tests.conductor.test_task_manager Module

Tests for ironic.conductor.task_manager.

class ironic.tests.conductor.test_task_manager.ExclusiveLockDecoratorTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_with_excl_lock_task_first_arg()[source]
test_with_excl_lock_task_second_arg()[source]
test_with_shared_lock_task_first_arg()[source]
test_with_shared_lock_task_second_arg()[source]
class ironic.tests.conductor.test_task_manager.TaskManagerGreenThreadTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

Class to assert our assumptions about greenthread behavior.

test_gt_cancel_doesnt_run_thread()[source]
class ironic.tests.conductor.test_task_manager.TaskManagerStateModelTestCases(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_process_event_fsm_raises()[source]
test_process_event_sets_callback()[source]
test_process_event_sets_callback_and_error_handler()[source]
test_release_clears_resources()[source]
class ironic.tests.conductor.test_task_manager.TaskManagerTestCase(*args, **kwargs)[source]

Bases: ironic.tests.db.base.DbTestCase

setUp()[source]
test_excl_lock(*args, **keywargs)[source]
test_excl_lock_exception_then_lock(*args, **keywargs)[source]
test_excl_lock_get_driver_exception(*args, **keywargs)[source]
test_excl_lock_get_ports_exception(*args, **keywargs)[source]
test_excl_lock_reserve_exception(*args, **keywargs)[source]
test_excl_lock_with_driver(*args, **keywargs)[source]
test_excl_nested_acquire(*args, **keywargs)[source]
test_init_prepares_fsm(*args, **keywargs)[source]
test_shared_lock(*args, **keywargs)[source]
test_shared_lock_get_driver_exception(*args, **keywargs)[source]
test_shared_lock_get_ports_exception(*args, **keywargs)[source]
test_shared_lock_node_get_exception(*args, **keywargs)[source]
test_shared_lock_with_driver(*args, **keywargs)[source]
test_spawn_after(*args, **keywargs)[source]
test_spawn_after_exception_while_yielded(*args, **keywargs)[source]
test_spawn_after_on_error_hook(*args, **keywargs)[source]
test_spawn_after_on_error_hook_exception(*args, **keywargs)[source]
test_spawn_after_spawn_fails(*args, **keywargs)[source]
test_upgrade_lock(*args, **keywargs)[source]

This Page