← Back to team overview

registry team mailing list archive

[Bug 607351] Re: test_too_many_processes is not idempotent

 

Ooops, nice catch.  Corrected the title of the bug.

** Summary changed:

- test_too_many_processes is not idempotent
+ test_max_processes is not idempotent

** Description changed:

  About once every five times I run:
  
  $ python run_tests.py
  
- I get a test failure on the test_too_many_processes test case:
+ I get a test failure on the test_max_processes test case:
  
  ===============================================================================
  [FAIL]: nova.tests.process_unittest.ProcessTestCase.test_max_processes
  
  Traceback (most recent call last):
  Failure: twisted.trial.unittest.FailTest: [Failure instance: Traceback: <class 'twisted.trial.unittest.FailTest'>: not equal:
  a = 'd4'
  b = 'd3'
  
  /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:354:_startRunCallbacks
  /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:371:_runCallbacks
  /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:330:_continue
  /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:325:unpause
  --- <exception caught here> ---
  /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:371:_runCallbacks
  /home/jpipes/repos/nova/testing-refactor/nova/tests/process_unittest.py:88:<lambda>
  /usr/lib/python2.6/dist-packages/twisted/trial/unittest.py:287:failUnlessEqual
  ]
  
  I can't tell what might be causing this, but if I execute run_tests.py
  repeatedly, this happens about 1 in 5 times...

-- 
test_max_processes is not idempotent
https://bugs.launchpad.net/bugs/607351
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



References