← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1192270] Re: TestNecAgentMain.test_main kills test runner

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1192270

Title:
  TestNecAgentMain.test_main kills test runner

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  Test TestNecAgentMain.test_main() calls main() of the nec_agent which
  in its order calls sys.exit(0). Since the test doesn't handle it in
  any way, it kills test runner and reports testr that tests are passed.

  Output of "tox -epy27 quantum.tests.unit.nec.test_nec_agent"

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1192270/+subscriptions