mysqld is installed to sbin by default, so if sbin is not in your
path, the tests will fail to set up properly.
Change-Id: I8ca72822ccf19046d1f5634245e972f184f5675a
With the functional gate job now being run on Xenial instead of Trusty,
the mysql version being used is much newer. Here we enable the variable
show_compatibility_56 that allows mysql system variables to be available
through SHOW statements. This should fix the gate currently failing
due to 'SHOW VARIABLES' statements erroring out.
Change-Id: Ica368351a669458d3dd4085403f086335a4470c7
Trying to run 'tox -v -epy27-func-mysql' yields errors. Changed the
connection string to contain '+pymysql' like the real connection string.
Also a test failure was resolved as one of the tests was still
expecting CPID when it shouldn't.
Change-Id: I507ef60758ca80d9ec2d47cef5dd4542c920171f
Create MySQL database before starting tests and cleanup after that.
MySQL database is able to work in standalone mode where establish
connection using a Unix domain socket.
This patch makes it possible to perform functional tests with `tox -e py27-func-mysql`.
If an enviroment variable REFSTACK_TEST_MYSQL_URL is set then tests will run with it
and a database will not be created.
Update test requirements.
Change-Id: I0cdba19701bbf06109e78f78f275038caeecd881