The ironic.tests.unit.common.test_hash_ring Module

class ironic.tests.unit.common.test_hash_ring.HashRingManagerTestCase(*args, **kwargs)[source]

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

register_conductors()[source]
setUp()[source]
test_hash_ring_manager_driver_not_found()[source]
test_hash_ring_manager_get_ring_success()[source]
test_hash_ring_manager_no_refresh()[source]
test_hash_ring_manager_refresh()[source]
class ironic.tests.unit.common.test_hash_ring.HashRingTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

test__hash2int_returns_int(*args, **keywargs)[source]
test_create_ring()[source]
test_create_ring_invalid_data()[source]
test_create_with_different_partition_counts()[source]
test_distribution_one_replica()[source]
test_distribution_three_replicas()[source]
test_distribution_two_replicas()[source]
test_get_hosts_invalid_data()[source]
test_ignore_hosts()[source]
test_ignore_hosts_with_replicas()[source]
test_ignore_non_existent_host()[source]
test_more_replicas_than_hosts()[source]
test_rebalance_stability_join()[source]
test_rebalance_stability_leave()[source]

Project Source

This Page