Commit Graph

8 Commits

Author SHA1 Message Date
Shih-Hao Li 8918b10b67 Move vmware_nsx/neutron/tests to vmware_nsx/tests
This is part of new vmware_nsx directory structure proposed in
https://goo.gl/GdWXyH.

Change-Id: I86262470a03c520bf8fe0f5129d940107701004f
2015-09-14 18:08:51 -07:00
Gary Kotton 3a96a43c53 VMware: fix gitreview
Fix the correct repo

Change-Id: I1deed42fb003f06bc97634e3908c6d82c8620e85
2014-12-21 23:24:18 -08:00
Maru Newby b11a9d47c2 Add an explicit tox job for functional tests
This change is in support of adding a new jenkins job dedicated
to functional testing.  Functional tests will no longer be
run as part of the unit tests.

Change-Id: Ia99940f7e5a2165720ae2a74aadf62ff17ad3d75
2014-02-05 17:11:52 +00:00
Maru Newby 991728400a Add support for managing async processes
Interacting with a long-running asynchronous process requires the
use of non-blocking io.  This change adds a helper class that can
launch a long-running process and read stdout and stderr in a
non-blocking fashion via eventlet.

This functionality is intended to support monitoring ovsdb via
a long-running and root-privileged invocation of ovsdb-client.

The complexity of the system interaction in this patch suggested
the addition of a functional test that validated actual behaviour.
The test was added under the neutron/tests/functional path which
is now included in the testr search path.

Partial-Bug: #1177973

Change-Id: I9969e556acecf7a9e77d873371cc2ec2647be011
2013-10-14 07:20:02 +00:00
Maru Newby 66a27646fd Default to not capturing log output in tests
Viewing log output while tests are still running can be useful for
debugging, but log output was previously always captured.  This
change ensures that log capture is off by default, but can still
be enabled by setting OS_LOG_CAPTURE=1 in the shell environment.

testr invocation is unchanged and will continue to capture logs by
default.

Change-Id: I9d0fb648541280cacfebb47f67f608378ae66ef3
2013-09-03 17:32:32 +00:00
Mark McClain 380b0e7db6 Rename Quantum to Neutron
This change renames everything to Neutron while providing backwards
compatible adjustments for Grizzly configuration files.

implements blueprint: remove-use-of-quantum

Change-Id: Ie7d07ba7c89857e13d4ddc8f0e9b68de020a3d19
2013-07-06 15:02:43 -04:00
Maru Newby b502c2f662 Allow pdb debugging in manually-invoked tests.
* The old behavior required setting environment variables to
   disable capture of stdout and stderr to allow debugging via pdb.
   The new behavior requires enabling capture of stdout/stderr
   instead. This is already the case in nova.
 * testr behavior is unmodified.
 * Tip 'o the hat to Robert Collins (lifeless)

Change-Id: Ica021eeab07d5a540ce42436c9cc8000c3fd239a
2013-04-09 02:46:40 +00:00
Monty Taylor aa6786320c Add initial testr support.
This doesn't really do much other that add the needed bits to the repo to
start hacking on testr support in small chunks.

Change-Id: I34fc57fdc7c9ebda8ffa2357a2ef962c7ab41bfa
2013-02-28 17:21:05 -05:00