42e8a69f28
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 |
||
---|---|---|
doc/source | ||
oslotest | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
lower-constraints.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
oslotest -- OpenStack Testing Framework and Utilities
The Oslo Test framework provides common fixtures, support for debugging, and better support for mocking results.
- Free software: Apache license
- Documentation: https://docs.openstack.org/oslotest/latest/
- Source: https://git.openstack.org/cgit/openstack/oslotest
- Bugs: https://bugs.launchpad.net/oslotest
- Release notes: https://docs.openstack.org/releasenotes/oslotest