summaryrefslogtreecommitdiff
path: root/tools/test-setup.sh
Commit message (Collapse)AuthorAgeFilesLines
* Make test-setup.sh compatible with mysql84.3.1Sean McGinnis2020-06-301-2/+2
| | | | | | | | | | | Starting from mysql version 8 it's not possible to create a user implictly when using GRANT. This patch makes the behavior compatible with that. Change-Id: I10dacfe8fa425a1b1dfd4b8862a7460caa5c579f Co-written-by: Riccardo Pittau <elfosardo@gmail.com> Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Prepare for using standard python testsAndreas Jaeger2017-02-081-0/+54
Add simple script to setup mysql and postgresql databases, this script can be run by users during testing and will be run by CI systems for specific setup before running unit tests. This is exactly what is currently done by OpenStack CI in project-config. This allows to change in project-config the python-db jobs to python-jobs since python-jobs will call this script initially. See also http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html Needed-By: I1c6c23b39a93991d2dcb5e753fd851d244326581 Change-Id: Ibbe9910b0bae398542bf5fb84f2c7151bc898770