OpenStack test classes
Go to file
Monty Taylor 42e8a69f28
Add DEFAULT_TIMEOUT and TIMEOUT_SCALING_FACTOR
The openstacksdk test suite sets a default value for OS_TEST_TIMEOUT to
enforce that no test in the suite should ever run long. It has to do
that by using the EnvironmentVariable fixture before running the super
setUp to get the value set before oslotest reads the environment
variable. Add a class variable that can be overridden to allow doing
that more cleanly.

Additionally, in the openstacksdk functional test suite, there is a
variable called "TIMEOUT_SCALING_FACTOR" that lets us mark that some of
the tests (I'm looking at you volume functional tests) naturally run a
bit longer than other tests in the suite. It's been invaluable for us
for a couple of ugly cases, so it seemed like we should upstream it into
oslotest.

Change-Id: I2ef5d0194185bf58c0945efb0725202e6d177e3f
2018-09-23 08:29:01 -05:00
doc/source Trivial: Update pypi url to new url 2018-04-21 12:12:20 +08:00
oslotest Add DEFAULT_TIMEOUT and TIMEOUT_SCALING_FACTOR 2018-09-23 08:29:01 -05:00
releasenotes Add DEFAULT_TIMEOUT and TIMEOUT_SCALING_FACTOR 2018-09-23 08:29:01 -05:00
tools Avoid tox_install.sh for constraints support 2017-12-01 09:54:17 +01:00
.coveragerc Fix coverage configuration and execution 2015-10-06 09:14:07 -04:00
.gitignore Switch to using stestr 2018-06-14 18:51:15 +00:00
.gitreview fix .gitreview after rename 2014-05-27 05:16:23 -07:00
.mailmap apply oslo-cookiecutter 2014-01-31 15:42:43 -08:00
.stestr.conf Switch to using stestr 2018-06-14 18:51:15 +00:00
.zuul.yaml add python 3.6 unit test job 2018-08-07 16:17:37 -04:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:39 +00:00
HACKING.rst Update URLs in documents according to document migration 2017-07-18 07:32:45 +00:00
LICENSE apply oslo-cookiecutter 2014-01-31 15:42:43 -08:00
README.rst Add release note link in README 2018-06-28 00:30:48 +08:00
lower-constraints.txt Switch to using stestr 2018-06-14 18:51:15 +00:00
requirements.txt Fix requirements check ci in oslotest 2018-08-22 17:27:50 +08:00
setup.cfg Update URLs in documents according to document migration 2017-07-18 07:32:45 +00:00
setup.py Updated from global requirements 2017-03-02 11:53:58 +00:00
test-requirements.txt Fix requirements check ci in oslotest 2018-08-22 17:27:50 +08:00
tox.ini Switch to using stestr 2018-06-14 18:51:15 +00:00

README.rst

Team and repository tags

image

oslotest -- OpenStack Testing Framework and Utilities

The Oslo Test framework provides common fixtures, support for debugging, and better support for mocking results.