| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Add an entry to the HACKING file about testr. While in there, noticed a
reference to the now-defunct nova/testing dir. Fixed that, moved the testing
README into nova/tests and remove the nova/testing dir.
Change-Id: Ibf6fb82658ba73eee9123fa53b340d0b72afb292
|
|
|
|
|
|
|
| |
Also, update unit tests to use more specific exception where possible
to make auditing easier in the future.
Change-Id: I4906e2f8e3ebacf0587f1471ca8dd46c73edc17a
|
|
|
|
| |
Change-Id: If86a65a6908b53e6f467d0e7a36c2ea941bf5040
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Shrink tox.ini to the new short version.
Fix the test cases to be able to be run in nosetets plus the
openstack.nose_plugin, which finally removes the need for
nova/testing/runner.py
Also, now we'll just output directly to stdout, which will
make nose collect the trace logging directly and either output
it at the end of the run, or inject it into the xunit output
appropriately.
Change-Id: I1456e18a11a840145492038108bdfe812c8230d1
|
|
|
|
|
|
| |
Fixes bug #1008023
Change-Id: Ifb8ecbb7430fdabd7b5d81ab23df66942abd9cb7
|
|
|
|
|
|
|
| |
Except for nova/api/, nova/tests/, nova/virt/
In preparation for automated checking being enabled (N306)
Change-Id: I5af70ea13b470ce58695ef0a5e0ff9da3ac1b135
|
|
|
|
|
|
| |
Mostly remove unused imports
Change-Id: Icdb3ec77537b2568f4e85843bab89eb63cd17d8e
|
|
|
|
|
|
|
|
|
|
|
|
| |
This module was marked as deprecated and scheduled for removal in Essex.
Remove it now that Folsom development is open. nova.rpc.impl_kombu
should be used instead.
This patch also removes nova.testing.fake.rabbit, since as far as I can
tell, it isn't used anymore and was the last thing still using the
carrot dependency.
Change-Id: I8cfb2d09ee5eed439ec1d152261f7097faf08ad6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* don't load every possible answer, only do what is needed
* cache instance data for a given address for a 15 seconds
using either memcache or fake memcache (in-memory).
This means only a single queue/db lookup for multiple calls
to metadata service
* add cache expirey to fake memcache (don't grow forever)
and move it to nova.common.memorycache
Addresses Bug #851159
Change-Id: Icf794156e055b18915b8b5be9ba2ab97d2338bbe
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
unittest will keep each test case around after completion pinning any
objects references by attributes on the test case. This can bloat
the memory used during a full test suite run to the point where
the test suite will require much more memory than running all of
the services does. On systems witout lots of memory, test suite
failures will occur as test cases cannot fork to execute programs.
Clearing out __dict__ of any attributes that don't start with a _
(since some are needed by unittest itself) reduces memory
significantly. This does require the super class tearDown to be
called last in some cases however.
Change-Id: I0e660b6c2a77c5613c5a523ba0a64c3d7f6dd128
|
|/
|
|
|
|
|
| |
Looks like this fixes all HACKING problems that were around.
Thanks to Dina Belova and Alexander Kovalev for this work.
Change-Id: I8157f0d4890184c1216aab63ef7180ee8b7a184d
|
|
|
|
|
|
|
|
|
|
| |
-x --stop is a nose flag
Provide short term solution to deal with '--hide-elapsed'
Can be tested by adding a assertTrue(False) in a test and running
./run_tests.sh -x
Change-Id: I7357e7cdaa3d6370ed111d6209917a833d084db3
|
|
|
|
|
|
| |
* Make modules use getLogger(__name__) and log to the result
Change-Id: Ib6d69b4be140ec89affc86ed11e65e422d551df1
|
|
|
|
|
|
| |
fixes bug 931608
Change-Id: I355a3bba38367c820a0eddc006ef480e5134b317
|
|
|
|
|
|
| |
Fixes bug #930519
Change-Id: I53f5f85d1ef8117f6a40a90ee1e9eb12a27dcd53
|
|
|
|
|
|
|
| |
Make FLAGS a ConfigOpts instance and fix up all the places where we
expected FlagValues behaviour.
Change-Id: I8f96f42e0d8d30ba6b362d29861e717cf0fa9e89
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes bug #925166
This patch for packages which have few backslash continuations.
Follow up patches will be for packages network, scheduler, virt,
db/sqlalchemy, tests, and api/openstack.
Change-Id: I4200010b47b33fa8b9115b5d379b543200f6668d
|
|
|
|
| |
Change-Id: I6e372152946dc7b51a4d84d6f4b893774e7d1a1d
|
|
|
|
|
|
|
|
| |
outside a virtual environment.
This addresses bug 901387
Change-Id: I12a2b1eeaf0ce46796af6e42fd6537bccd6a4d8f
|
|
This commit begins to implement blueprint consolidate-testing-infrastructure by
adding a 'testing' subpackage and moving some modules into it.
Change-Id: I04bf860bc386bd2016e7dbc5a6f6ef7379a855bb
|