← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1409173] [NEW] Interaction between various unit/virt/disk tests

 

Public bug reported:

Looks like a couple of test classes are leaking `setUp` state which are causing another test to randomly fail... this one
test_can_resize_need_fs_type_specified

I don't really know why this isn't failing in the gate; could be the
fact that I'm using `nose` as a test runner and happen to be running the
test_api tests after test_inject.

Anyway, the solution is to add the appropriate `tearDown` methods which
restore the state of the modules to their pre-test condition.

** Affects: nova
     Importance: Undecided
     Assignee: Rick Harris (rconradharris)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1409173

Title:
  Interaction between various unit/virt/disk tests

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  Looks like a couple of test classes are leaking `setUp` state which are causing another test to randomly fail... this one
  test_can_resize_need_fs_type_specified

  I don't really know why this isn't failing in the gate; could be the
  fact that I'm using `nose` as a test runner and happen to be running
  the test_api tests after test_inject.

  Anyway, the solution is to add the appropriate `tearDown` methods
  which restore the state of the modules to their pre-test condition.

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


Follow ups

References