
These tests were causing side effects to class variables of K8sValidator, and this was intermittently failing subsequent tests if they ran in the same stestr executor. This change uses mock.patch to change the class variables for the duration of the test only. Change-Id: I81095221fa45f7070bde22e2a4415345080ed1f1
Team and repository tags
Magnum
Magnum is an OpenStack project which offers container orchestration engines for deploying and managing containers as first class resources in OpenStack.
For more information, please refer to the following resources:
- Free software: under the Apache license <http://www.apache.org/licenses/LICENSE-2.0>
- Documentation: https://docs.openstack.org/magnum/latest/
- Admin guide: https://docs.openstack.org/magnum/latest/admin/index.html
- Source: https://opendev.org/openstack/magnum
- Blueprints: https://blueprints.launchpad.net/magnum
- Bugs: https://bugs.launchpad.net/magnum
- REST Client: https://opendev.org/openstack/python-magnumclient
- Release notes: https://docs.openstack.org/releasenotes/magnum/index.html
- Contributing: https://docs.openstack.org/magnum/latest/contributor/index.html
Description
Languages
Python
73%
Shell
26.7%
Dockerfile
0.3%