swift/test/unit/cli
Samuel Merritt aa82d2cba8 Save ring builder if dispersion changes
There are cases where a rebalance improves dispersion, but doesn't
improve balance. This is because the balance of a ring builder is
taken to be the balance of its least-balanced device, so if there's a
device that has no partitions, wants some, but can't get them, then
we'll never save the ring builder even if every other device in the
ring got better.

We can detect this situation by looking at the dispersion number; if it
changes, then the rebalance needs to be saved in order to continue to
make progress.

Partial-Bug: #1697543

Change-Id: Ie239b958fc7e0547ffda2bebf61546bd4ef3d829
2017-12-15 15:04:00 -08:00
..
__init__.py Add some tests for bin/swift-recon 2014-01-31 15:34:37 +00:00
test_default_output_id_assigned.stub Add Composite Ring Functionality 2017-05-15 16:42:00 -07:00
test_default_output.stub Add Composite Ring Functionality 2017-05-15 16:42:00 -07:00
test_default_sorted_output.stub Order devices in the output of swift-ring-builder 2017-06-22 16:06:48 -07:00
test_dispersion_report.py Test placeholder for dispersion_report module 2017-09-13 16:49:00 -06:00
test_form_signature.py Use more specific asserts in test/unit/cli tests 2016-08-03 12:19:40 +00:00
test_info.py Add checksum to object extended attributes 2017-11-03 13:30:05 -04:00
test_ipv6_output.stub Add Composite Ring Functionality 2017-05-15 16:42:00 -07:00
test_recon.py Added swift version to recon cli 2017-12-05 13:14:20 -08:00
test_relinker.py Add checksum to object extended attributes 2017-11-03 13:30:05 -04:00
test_ring_builder_analyzer.py Use more specific asserts in test/unit/cli tests 2016-08-03 12:19:40 +00:00
test_ringbuilder.py Save ring builder if dispersion changes 2017-12-15 15:04:00 -08:00