TestNecAgentMain.test_main kills test runner
Bug #1192270 reported by
Roman Bogorodskiy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Roman Bogorodskiy |
Bug Description
Test TestNecAgentMai
Output of "tox -epy27 quantum.
Ran 6 (-2) tests in 0.062s (-0.009s)
PASSED (id=29)
Without sys.exit() call the same command results in:
Ran 8 (+2) tests in 0.072s (+0.010s)
PASSED (id=30)
Changed in quantum: | |
assignee: | nobody → Roman Bogorodskiy (novel) |
status: | New → In Progress |
Changed in quantum: | |
importance: | Undecided → Medium |
tags: | added: nec unittest |
description: | updated |
Changed in quantum: | |
milestone: | none → havana-2 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | havana-2 → 2013.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/33479 github. com/openstack/ quantum/ commit/ 381cb1c4e4b5122 a8afae67ad4cbee bcb39cbf83
Committed: http://
Submitter: Jenkins
Branch: master
commit 381cb1c4e4b5122 a8afae67ad4cbee bcb39cbf83
Author: Roman Bogorodskiy <email address hidden>
Date: Tue Jun 18 13:12:27 2013 -0400
Fix TestNecAgentMain not to call sys.exit()
test_main() was calling sys.exit() killing test running
and not allowing tests to complete in a proper way.
Drop explicit sys.exit() call from net agent's main() and
fix outdated mocks in test_main().
Fixes bug #1192270
Change-Id: Iea8d5508f73eb9 144e452de3305f2 dec4c2a319c