Refactor REST API test script into a npm test framework

The script can now be used to run an arbitrary set of Node.js tests as
long as they define the `test` npm target. Refactored REST API tests to
fit into this framework.
This commit is contained in:
Markus Mäkelä
2017-07-13 14:57:19 +03:00
parent 01fa1a827a
commit 173a97ae70
5 changed files with 21 additions and 9 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_LOG_FILE='binlog.000001', MASTER_CONNECT_RETRY=1;
START SLAVE;
SET GLOBAL max_connections=10000;