Tempest plugin for the Zun project.
069b9efbeb
As 2023.2, 2024.1, and 2024.2 is released, we should add its job on master gate to keep branchless tempest plugins compatible to stable branch. Removing Yoga, zed, and 2023.1 job as that is in unmaintained phase. Ref: Tempest plugins guide for stable branch testing: - https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html In addition, use 'block-storage' service type to detect cinder. Change-Id: I9b2e2ba2336d285cf6ac35fb1ebeb78cf576a872 |
||
---|---|---|
doc | ||
releasenotes | ||
zun_tempest_plugin | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
.zuul.yaml | ||
babel.cfg | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Team and repository tags
Tempest Integration of Zun
This directory contains Tempest tests to cover the Zun project, as well as a plugin to automatically load these tests into tempest.
See the Tempest plugin docs for information on using it: https://docs.openstack.org/tempest/latest/#using-plugins
- Free software: Apache license
- Documentation: https://docs.openstack.org/zun-tempest-plugin/latest
- Source: https://opendev.org/openstack/zun-tempest-plugin
- Bugs: https://bugs.launchpad.net/zun
Running the tests
Edit /opt/stack/tempest/etc/tempest.conf
:
Add the
[container_service]
section, configuremin_microversion
andmax_microversion
:[container_service] min_microversion=1.32 max_microversion=1.32
Note
You might need to modify the min/max microversion based on your test environment.
To run all tests from this plugin, install Zun into your environment and navigate to tempest directory:
$ cd /opt/stack/tempest
Run this command:
$ tempest run --regex zun_tempest_plugin.tests.tempest.api
To run a single test case, run with the test case name, for example:
$ tempest run --regex zun_tempest_plugin.tests.tempest.api.test_containers.TestContainer.test_list_containers