ringbuilder tests are fragile
Bug #1499015 reported by
John Dickinson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Low
|
Unassigned |
Bug Description
in ringbuilder unit tests, test_warn_at_risk and test_no_
A better plan would be to create a ring that is absolutely unbalanced (or mock it) so that we can be more explicit about what is being tested and have something that's more consistently testable locally and in the gate
tags: | added: ring |
To post a comment you must log in.
AFAICT the existing tests always pass but could be prone to changes in the builder rebalance. The goal of the test is to verify the ringbuilder behavior, not the builder behavior, so on that basis I agree with the bug, however minor.