impl_zmq test setUp and tearDown is broken
Bug #1096223 reported by
Erica Windisch
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo-incubator |
Fix Released
|
Undecided
|
Erica Windisch | ||
Grizzly |
Fix Released
|
Undecided
|
Erica Windisch |
Bug Description
The ZeroMQ rpc tests race against themselves causing some tests to fail.
Following a prior patch to improve the tearDown of the in-test zmq receiver, a race condition was introduced whereby TCP and Unix sockets may not close before new sockets are created with the same ports / filenames.
The prior patch was 887e9e169cd81de
Changed in oslo: | |
assignee: | nobody → Eric Windisch (ewindisch) |
status: | New → In Progress |
Changed in oslo: | |
milestone: | none → grizzly-3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/18882 github. com/openstack/ oslo-incubator/ commit/ bd1e5a3350305cd 6554ba3b0d537d6 70bf6b4a75
Committed: http://
Submitter: Jenkins
Branch: master
commit bd1e5a3350305cd 6554ba3b0d537d6 70bf6b4a75
Author: Eric Windisch <email address hidden>
Date: Thu Jan 3 10:53:52 2013 -0500
Address test_zmq setup/teardown races
Each test now consumes a new port number (9500+),
and socket directory based on an auto-incrementing
global counter (TESTCNT).
Also makes minor cleanup to test receiver setup logic.
fixes bug 1096223
Change-Id: Ie6a88c535c81f2 fc12b97d32c2674 a6184325d2a