Tempest plugin for kuryr/kuryr-kubernetes
Go to file
Michał Dulko fd25366d35 Increase timeout to read pod commands results
exec_command_in_pod was hanging from time to time and we've set a 10
seconds timeout waiting for a response from it. This might be too little
as we very often see empty responses being returned. This commit
attempts to solve the issue by setting default timeout to 60 seconds.
Also the method used is changed from connect_get_namespaced_pod_exec to
connect_post_namespaced_pod_exec. This is what `kubectl` uses to
perform `exec`, so hopefully it'll be more reliable.

Depends-On: I3bbac8e90553be9424fa0ecdb4c05e096da8f2d7
Change-Id: I49ac4d066a0bd0da3833dcbf41655f7c9e374fd9
2020-11-06 12:00:57 +01:00
devstack Install plugin system-wide if INSTALL_TEMPEST is set 2020-05-08 13:51:08 +02:00
doc Switch to newer openstackdocstheme version 2020-05-30 18:42:36 +02:00
kuryr_tempest_plugin Increase timeout to read pod commands results 2020-11-06 12:00:57 +01:00
releasenotes/notes [ussuri][goal] Drop python 2.7 support and testing 2020-01-23 16:05:26 -06:00
test_container Fix container test image 2020-10-09 17:04:11 +00:00
.gitignore Initial Commit 2017-05-25 12:56:52 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:32:21 +00:00
.zuul.yaml [goal] Migrate kuryr-tempest-plugin jobs to focal 2020-09-29 19:39:14 +00:00
CONTRIBUTING.rst Update the URL in doc 2018-09-24 20:54:38 +08:00
HACKING.rst Update url in HACKING.rst 2018-06-21 21:43:09 +08:00
LICENSE Initial Commit 2017-05-25 12:56:52 +02:00
README.rst Update README with installation and test run information 2019-08-21 13:07:10 +00:00
requirements.txt Adapt Network Policy tempest tests for IPv6. 2020-05-07 18:12:55 +02:00
setup.cfg Add py38 package metadata 2020-05-28 11:38:13 +08:00
setup.py Updated from global requirements 2017-06-27 12:12:07 +00:00
test-requirements.txt Use unittest.mock instead of mock 2020-06-09 01:20:02 +02:00
tox.ini Remove releasenotes test from envlist 2020-10-16 01:18:54 +00:00

README.rst

Team and repository tags

image

Tempest Integration of Kuryr

Overview

This project defines a tempest plugin containing tests used to verify the functionality of a kuryr installation. The plugin will automatically load these tests into tempest.

For more information about Kuryr see: https://docs.openstack.org/kuryr/latest/

For more information about Kuryr-kubernetes see: https://docs.openstack.org/kuryr-kubernetes/latest/

For more information about Tempest plugins see: https://docs.openstack.org/tempest/latest/plugin.html

Installing

Clone this repository and call from the repo:

$ pip install -e .

Running the tests

To run all the tests from this plugin, call from the tempest repo:

$ tox -e all -- kuryr_tempest_plugin

To run a single test case, call with full path, for example:

$ tox -e all -- kuryr_tempest_plugin.tests.scenario.test_cross_ping.TestCrossPingScenario.test_vm_pod_ping

To retrieve a list of all tempest tests, run:

$ testr list-tests