MXS-1300: Add docker based cluster for REST API testing

The REST API test suite now starts a four node MariaDB cluster with
docker-compose. This allows quick and easy local testing.
This commit is contained in:
Markus Mäkelä
2017-07-11 11:47:36 +03:00
parent d59d3ab638
commit 6479788283
4 changed files with 80 additions and 1 deletions

View File

@ -0,0 +1,3 @@
CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT=3000, MASTER_USER='maxuser', MASTER_PASSWORD='maxpwd', MASTER_LOG_POS=4, MASTER_CONNECT_RETRY=1;
START SLAVE;
SET GLOBAL max_connections=10000;