Tempest plugin for the Zun project.
Go to file
Hongbin Lu df41fe723a Add python3 job back
Due to job renaming [1], python3 job in master branch was unexpectedly
removed. This commit adds it back.

[1] https://review.opendev.org/#/c/652467/

Change-Id: I3e3fac2f662400271141d660826536c78e287f53
2019-04-20 23:52:59 +00:00
doc/source switch documentation job to new PTI 2018-08-23 06:13:02 +00:00
releasenotes Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
zun_tempest_plugin Merge "Remove image_pull_policy field" 2019-04-09 02:29:02 +00:00
.coveragerc Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
.gitignore Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
.gitreview OpenDev Migration Patch 2019-04-19 19:31:48 +00:00
.mailmap Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
.testr.conf Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
.zuul.yaml Add python3 job back 2019-04-20 23:52:59 +00:00
babel.cfg Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
CONTRIBUTING.rst Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
HACKING.rst Replacing the link in HACKING.rst 2018-11-16 10:06:26 +08:00
LICENSE Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
README.rst Update tempest documentation 2019-04-20 17:04:29 +00:00
requirements.txt Updated from global requirements 2018-03-14 06:14:54 +00:00
setup.cfg Change openstack-dev to openstack-discuss 2018-12-04 12:53:23 +00:00
setup.py Updated from global requirements 2018-01-27 18:52:29 +00:00
test-requirements.txt Updated from global requirements 2018-03-15 09:41:27 +00:00
tox.ini switch documentation job to new PTI 2018-08-23 06:13:02 +00:00

Team and repository tags

image

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

Running the tests

Edit /opt/stack/tempest/etc/tempest.conf:

  • Add the [container_service] section, configure min_microversion and max_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