Attributes of FakeBroker class changes while test execution
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Vladimir Vechkanov |
Bug Description
In unit tests for db_replicator there is FakeBroker class. We use it instead of db_replicator.
In one of the tests attribute of replicator.
More than that, changed attribute caused calling qarantine_db function which deleting all "test/unit/common" directory. Tests in nosetests are calling in alphabetical order (not in order how they are written) so understanding why directory was deleted is too hard.
I suggest to create function which will give new FakeBroker class for each test case.
Changed in swift: | |
assignee: | nobody → Vladimir Vechkanov (vvechkanov) |
Changed in swift: | |
milestone: | none → 1.9.0 |
Changed in swift: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/29228
Review: https:/