The ironic.tests.unit.conductor.test_task_manager Module

The ironic.tests.unit.conductor.test_task_manager Module

Tests for ironic.conductor.task_manager.

class ironic.tests.unit.conductor.test_task_manager.ExclusiveLockDecoratorTestCase(*args, **kwds)[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.unit.conductor.test_task_manager.ProvisionNotifyTestCase(*args, **kwds)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_notify_error_state(*args, **keywargs)[source]
test_notify_no_state_change(*args, **keywargs)[source]
test_notify_only_once(*args, **keywargs)[source]
test_notify_resource_released(*args, **keywargs)[source]
test_notify_stable_to_stable(*args, **keywargs)[source]
test_notify_stable_to_unstable(*args, **keywargs)[source]
test_notify_unstable_to_stable(*args, **keywargs)[source]
test_notify_unstable_to_unstable(*args, **keywargs)[source]
class ironic.tests.unit.conductor.test_task_manager.TaskManagerStateModelTestCases(*args, **kwds)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_process_event_callback_stable_state()[source]
test_process_event_fsm_raises()[source]
test_process_event_no_callback_notify()[source]
test_process_event_no_callback_stable_state()[source]
test_process_event_sets_callback()[source]
test_process_event_sets_callback_and_error_handler()[source]
test_process_event_sets_target_state()[source]
test_release_clears_resources()[source]
class ironic.tests.unit.conductor.test_task_manager.TaskManagerTestCase(*args, **kwds)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test_excl_lock(*args, **keywargs)[source]
test_excl_lock_build_driver_exception(*args, **keywargs)[source]
test_excl_lock_exception_then_lock(*args, **keywargs)[source]
test_excl_lock_get_portgroups_exception(*args, **keywargs)[source]
test_excl_lock_get_ports_exception(*args, **keywargs)[source]
test_excl_lock_get_volconn_exception(*args, **keywargs)[source]
test_excl_lock_get_voltgt_exception(*args, **keywargs)[source]
test_excl_lock_reserve_exception(*args, **keywargs)[source]
test_excl_nested_acquire(*args, **keywargs)[source]
test_init_prepares_fsm(*args, **keywargs)[source]
test_no_driver(*args, **keywargs)[source]
test_shared_lock(*args, **keywargs)[source]
test_shared_lock_build_driver_exception(*args, **keywargs)[source]
test_shared_lock_get_portgroups_exception(*args, **keywargs)[source]
test_shared_lock_get_ports_exception(*args, **keywargs)[source]
test_shared_lock_get_volconn_exception(*args, **keywargs)[source]
test_shared_lock_get_voltgt_exception(*args, **keywargs)[source]
test_shared_lock_node_get_exception(*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]
test_upgrade_lock_refreshes_fsm(*args, **keywargs)[source]
class ironic.tests.unit.conductor.test_task_manager.ThreadExceptionTestCase(*args, **kwds)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_set_node_last_error()[source]
test_set_node_last_error_cancelled(*args, **keywargs)[source]
test_set_node_last_error_exists()[source]
test_set_node_last_error_no_error()[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.