Terminate the long-running cat in rootwrap tests
Bug #1079629 reported by
Thierry Carrez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Davanum Srinivas (DIMS) |
Bug Description
Bug 1071443 replaced the "sleep 5" call in the rootwrap KillFilter tests by a cat with stdin=PIPE stdout=PIPE stderr=STDIN that sits there doing nothing indefinitely.
While it was indeed intrducing a race condition, the sleep call had the benefit of always terminating after 5 seconds, while the "cat" process will survive until the death of the parent.
At the very minimum, we should be terminating that "cat" subprocess at the end of test_KillFilter.
Changed in nova: | |
milestone: | none → grizzly-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-1 → 2013.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/16306
Review: https:/