zmq tests should reset config between tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo-incubator |
Fix Released
|
Medium
|
Erica Windisch | ||
Grizzly |
Fix Released
|
Medium
|
Erica Windisch |
Bug Description
In test_zmq.py setUp() we do FLAGS.set_
This means that that running a test alters the state of FLAGS for all other tests. We should ensure a clean slate after each test.
You can see the subtleties this introduces here:
ipc_dir = FLAGS.rpc_
if not os.path.
....
elif ipc_dir != internal_ipc_dir:
....
The elif is specifically for the case where FLAGS.rpc_zmq_dir was not overwritten by a previous test.
Changed in openstack-common: | |
assignee: | nobody → Eric Windisch (ewindisch) |
status: | New → Confirmed |
importance: | Undecided → Medium |
affects: | openstack-common → oslo |
Changed in oslo: | |
milestone: | none → grizzly-1 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/14345
Review: https:/