Tempest plugin for Octavia
Go to file
Gregory Thiemonge d698a18781 Fix request interval in _wait_for_lb_functional
The request_interval parameter is passed to the _wait_for_lb_functional
function but it wasn't used in the function.
Now the function sleeps for request_interval sec for each iteration of
the loop.
It mitigates some random failures with the TCP listener +
least_connection lb_algorithm tests that require a specific delay
between the requests [0]

[0] https://opendev.org/openstack/octavia-tempest-plugin/src/branch/master/octavia_tempest_plugin/tests/scenario/v2/test_traffic_ops.py#L854

Change-Id: Idf0a9fb71178abea732748f92f01eed5a55a3228
2023-04-06 09:50:42 +02:00
devstack Fix testing IPv6 VIP network connectivity 2021-03-16 15:33:20 +01:00
doc Switch to newer openstackdocstheme and reno versions 2020-05-28 14:46:21 +02:00
octavia_tempest_plugin Fix request interval in _wait_for_lb_functional 2023-04-06 09:50:42 +02:00
playbooks Fix two-node job configuration 2021-07-20 07:17:35 +02:00
releasenotes Add "member" role to non-admin test credentials 2023-01-18 18:02:06 +00:00
zuul.d Merge "Spliting centos scenario job into 2 jobs" 2023-03-28 16:03:37 +00:00
.coveragerc Initial setup of the octavia-tempest-plugin repo 2017-05-11 18:32:01 +00:00
.gitignore Create api+scenario tests for pools 2018-05-18 16:08:21 -07:00
.gitreview OpenDev Migration Patch 2019-04-19 19:35:19 +00:00
.mailmap Initial setup of the octavia-tempest-plugin repo 2017-05-11 18:32:01 +00:00
.stestr.conf Create api+scenario tests for pools 2018-05-18 16:08:21 -07:00
CONTRIBUTING.rst Update links in README.rst 2018-08-13 10:13:30 +02:00
HACKING.rst Update links in README.rst 2018-08-13 10:13:30 +02:00
LICENSE Initial setup of the octavia-tempest-plugin repo 2017-05-11 18:32:01 +00:00
README.rst Generate PDF documentation 2019-09-13 10:48:40 -07:00
babel.cfg Initial setup of the octavia-tempest-plugin repo 2017-05-11 18:32:01 +00:00
requirements.txt Merge "Add HTTP/2 tempest scenario tests for listeners" 2020-09-22 10:17:30 +00:00
setup.cfg setup.cfg: Replace dashes by underscores 2022-05-06 16:09:19 +00:00
setup.py Updated from global requirements 2017-06-06 01:53:58 +00:00
test-requirements.txt Fix hacking min version to 3.0.1 2020-05-12 20:03:20 -05:00
tox.ini tox skipsdist seems to be problematic 2022-12-29 16:20:27 +01:00

README.rst

Octavia Tempest Plugin

Team and repository tags

image

Tempest integration of Octavia

This project contains the Tempest plugin for the Octavia project for OpenStack Load Balancing.

For more information about Octavia see: https://docs.openstack.org/octavia/latest/

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

Installing

Clone this repository to the destination machine, 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-plugin -- octavia_tempest_plugin

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

$ tox -e all-plugin -- octavia_tempest_plugin.tests.scenario.v2.test_traffic_ops.TrafficOperationsScenarioTest.test_basic_traffic

To retrieve a list of all tempest tests, run:

$ testr list-tests