swift/test/unit/common/ring
Tim Burke 17f6a6989d Avoid infinite loop while placing parts
Previously, we could over-assign how many parts should be in a tier.
This would cause the local `parts` variable to go negative, which meant
that our `while parts` loop would never terminate.

Change-Id: Id7e7889742ca37cf1a9c0d55fba78d967e90e8d0
Closes-Bug: 1642538
(cherry picked from commit 2e7a7347fc)
2016-11-24 12:04:41 +00:00
..
__init__.py Initial commit of Swift code 2010-07-12 17:03:45 -05:00
test_builder.py Avoid infinite loop while placing parts 2016-11-24 12:04:41 +00:00
test_ring.py Merge "add test for zero weight region get_more_nodes" 2016-01-28 12:50:58 +00:00
test_utils.py Put part-replicas where they go 2015-12-07 16:06:42 -08:00