The REST API and MaxCtrl tests relied upon the implicit sessions that were created by the listeners. This can be corrected and improved by creating an actual connection to MaxScale to check that a client session is indeed created.
21 lines
531 B
JSON
21 lines
531 B
JSON
{
|
|
"name": "rest-api-tests",
|
|
"version": "1.0.0",
|
|
"repository": "https://github.com/mariadb-corporation/MaxScale",
|
|
"description": "MaxScale REST API tests",
|
|
"scripts": {
|
|
"test": "mocha --exit --timeout 30000 --slow 10000"
|
|
},
|
|
"author": "",
|
|
"license": "SEE LICENSE IN ../../../../LICENSE.txt",
|
|
"dependencies": {
|
|
"ajv": "^5.5.2",
|
|
"chai": "^3.5.0",
|
|
"chai-as-promised": "^6.0.0",
|
|
"mariadb": "^2.0.1-beta",
|
|
"mocha": "^5.2.0",
|
|
"request": "^2.87.0",
|
|
"request-promise-native": "^1.0.5"
|
|
}
|
|
}
|