Commit Graph

8 Commits

Author SHA1 Message Date
Slawek Kaplonski a88d23c797 Remove os-testr leftovers
All projects should be switched to use stestr already. In
neutron-fwaas it is already done but there were some leftovers
after os-testr and this commit removes them.

Change-Id: I7d0c72d1327eedcfd309ec4c346064d0adad6008
2019-11-27 22:30:31 +01:00
Doug Wiegley e6e929b60f After the services split, get neutron-fwaas Jenkins jobs passing
- Temporarily skip all unit tests, until alembic chains are sorted.

Change-Id: I38f88c8f4638b7c3787479b70bbfe001f3c9f3cd
2014-12-09 00:00:29 -07:00
Maru Newby 235497e8c3 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 5c89f3e70a 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 69860658bc 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 ee576e2921 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 de9a2fa6b0 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 dd13933581 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