As discussed in the Liberty Design Summit "Moving apps to Python 3"
cross-project workshop, the way forward in the near future is to
switch to the pure-python PyMySQL library as a default.
https://etherpad.openstack.org/p/liberty-cross-project-python3
Change-Id: I058419b25f55dcfd93af522aa1f5f61b8f06407e
A lot of sql tests are failing when running concurrently on the same
database. This patch drastically reduces the number of errors found
by creating one database for each test.
Related to blueprint sql-unit-tests-on-real-backend
Change-Id: I5a5f3a9f141c45a6c3c645e3b18089f442d29138
- Creates a new tox environment for testing against mysql
- Adds a script set-test-env-mysql.sh to set up mysql
- Adds a new file `functions.sh` for common shell functions
- Creates a new DB manager for tests
- Adds a new scenario for mysql in the MixinTestsWithBackendScenarios
Related to blueprint sql-unit-tests-on-real-backend
Co-Authored-By: Ala Rezmerita <ala.rezmerita@cloudwatt.com>
Change-Id: I2c7378c79b1a0bffae5b2489b04c60e509f62f85