Rodolfo Alonso Hernandez
4a66adf94c
Group execution of SQL functional tests
Functional SQL tests (MySQL and PostgreSQL) use the DB installed backend. To avoid overloading the DB engine, the test cases are grouped [1] together and executed by the same worker process. That will ensure those tests are not executed in parallel, interfering each other. All test classes ended in "MySQL" or "PostgreSQL" are now grouped. That means the tests implemented inside the same class are executed in the same worker, not in parallel. **HOWEVER**, that doesn't guarantee all test cases using the same database backend will run in the same worker serially. The FT job can still execute test cases from different classes, using the same DB backend, in two workers at the same time. This patch also fixes the ``TestReservation*`` classes to inherit from the parent classes in the correct order. That sets the "DRIVER" value to the expected one "mysql" or "postgresql". [1]https://review.opendev.org/c/openstack/neutron/+/785568 Closes-Bug: #1962594 Related-Bug: #1687027 Change-Id: I6bca7daf4d3e46071686bb62d5988ae314af8e7e
OpenStack Neutron
Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).
To learn more about neutron:
- Documentation: https://docs.openstack.org/neutron/latest/
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron/index.html
- Source: https://opendev.org/openstack/neutron
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute, please read the CONTRIBUTING.rst file.
Description
Languages
Python
99.7%
Shell
0.3%