← Back to team overview

openstack team mailing list archive

Re: Unit tests, individual vs. test suite

 

On 6/29/12 10:57 AM, Kevin L. Mitchell wrote:
On Fri, 2012-06-29 at 10:34 -0500, Andrew Bogott wrote:
$ /opt/stack/nova$ ./run_tests.sh test_virt_drivers
AbstractDriverTestCase
      test_add_to_aggregate                                        ERROR
0.02
      test_agent_update                                            ERROR
0.02
      etc.

      And yet, if I scroll up and look at the earlier run (where
everything passed) I see it running AbstractDriverTestCase with all green.
Try:

     ./run_tests.sh nova.tests.test_virt_drivers

and see if there's any difference with the full path as compared to the
abbreviated path?
That works!

So, what's happening exactly? Is the qualified.test.path used as a cwd for running the test?

-A



References