Files
MaxScale/maxscale-system-test/mxs1899_generated_cnf.cpp
Johan Wikman 6279ab350c Rename TestConnections::assert() to TestConnections::expect()
Allows the including of <assert.h>.
2018-09-10 10:24:46 +03:00

19 lines
483 B
C++

/**
* MXS-1889: generated [maxscale] section causes errors
*
* https://jira.mariadb.org/browse/MXS-1899
*/
#include "testconnections.h"
int main(int argc, char** argv)
{
TestConnections test(argc, argv);
test.maxscales->ssh_node_f(0, true, "maxctrl alter maxscale auth_connect_timeout 10");
test.expect(test.maxscales->restart() == 0, "Restarting MaxScale after modification "
"of global parameters should work");
return test.global_result;
}