ironic-inspector/ironic_inspector/test/unit
Dmitry Tantsur 0d20064f44 Add leader election for periodic sync with ironic
Periodically elect a leader to do the cleanup sync with
Ironic (to avoid unnecessary calls to  Ironic in a
multi-inspector setup).
Add config option 'leader_election_interval' to control
the period in which the leaders is elected.

Co-authored-by: Arne Wiebalck <arne.wiebalck@cern.ch>

Story: #2007801
Change-Id: I6f60aea41865f09f9e53e5d91b1e887f0b39efbd
2020-07-02 12:17:28 +02:00
..
__init__.py Move unit tests to "unit" directory 2016-04-05 11:15:29 +03:00
policy_fixture.py Add request context and policy enforcement 2017-10-13 11:55:52 +00:00
test_api_tools.py Use unittest.mock instead of third party mock 2020-04-18 16:15:28 -05:00
test_common_ironic.py Hacking: enforce usage of autospec=True in tests 2020-04-28 12:27:41 +02:00
test_coordination.py Use unittest.mock instead of third party mock 2020-04-18 16:15:28 -05:00
test_db.py Use unittest.mock instead of third party mock 2020-04-18 16:15:28 -05:00
test_dnsmasq_pxe_filter.py Use unittest.mock instead of third party mock 2020-04-18 16:15:28 -05:00
test_introspect.py Merge "Stop creating a green thread in the introspection unit tests" 2020-05-15 14:05:38 +00:00
test_iptables.py Hacking: enforce usage of autospec=True in tests 2020-04-28 12:27:41 +02:00
test_keystone.py Use unittest.mock instead of third party mock 2020-04-18 16:15:28 -05:00
test_locking.py Use unittest.mock instead of third party mock 2020-04-18 16:15:28 -05:00
test_main.py Enable Basic HTTP authentication middleware. 2020-06-05 01:28:40 +12:00
test_manager.py Add leader election for periodic sync with ironic 2020-07-02 12:17:28 +02:00
test_migrations.py Hacking: enforce usage of autospec=True in tests 2020-04-28 12:27:41 +02:00
test_node_cache.py Hacking: enforce usage of autospec=True in tests 2020-04-28 12:27:41 +02:00
test_plugins_base.py Use unittest.mock instead of third party mock 2020-04-18 16:15:28 -05:00
test_plugins_base_physnet.py Use unittest.mock instead of mock 2020-06-10 20:21:00 +02:00
test_plugins_capabilities.py Use unittest.mock instead of third party mock 2020-04-18 16:15:28 -05:00
test_plugins_discovery.py Use unittest.mock instead of third party mock 2020-04-18 16:15:28 -05:00
test_plugins_extra_hardware.py extra_hardware: stop storing raw data in swift 2020-05-14 16:08:34 +02:00
test_plugins_introspection_data.py Use unittest.mock instead of third party mock 2020-04-18 16:15:28 -05:00
test_plugins_lldp_basic.py Use latest version of python construct 2020-05-14 10:37:07 +02:00
test_plugins_local_link_connection.py Hacking: enforce usage of autospec=True in tests 2020-04-28 12:27:41 +02:00
test_plugins_pci_devices.py Hacking: enforce usage of autospec=True in tests 2020-04-28 12:27:41 +02:00
test_plugins_physnet_cidr_map.py Use unittest.mock instead of mock 2020-06-10 20:21:00 +02:00
test_plugins_raid_device.py Use autospec=True in mocks 2020-04-22 14:10:53 +02:00
test_plugins_rules.py Use autospec=True in mocks 2020-04-22 14:10:53 +02:00
test_plugins_standard.py Accept IPv6 link local address during interface validation 2020-06-17 14:20:41 +08:00
test_process.py Hacking: enforce usage of autospec=True in tests 2020-04-28 12:27:41 +02:00
test_pxe_filter.py Stop running a periodic task for the noop PXE filter 2020-05-06 09:30:30 +02:00
test_rules.py Use unittest.mock instead of third party mock 2020-04-18 16:15:28 -05:00
test_swift.py Use unittest.mock instead of third party mock 2020-04-18 16:15:28 -05:00
test_utils.py Enable Basic HTTP authentication middleware. 2020-06-05 01:28:40 +12:00
test_wsgi_service.py Enable Basic HTTP authentication middleware. 2020-06-05 01:28:40 +12:00