Files
MaxScale/maxscale-system-test/mxs1899_generated_cnf.cpp
Niclas Antti c447e5cf15 Uncrustify maxscale
See script directory for method. The script to run in the top level
MaxScale directory is called maxscale-uncrustify.sh, which uses
another script, list-src, from the same directory (so you need to set
your PATH). The uncrustify version was 0.66.
2018-09-09 22:26:19 +03:00

20 lines
499 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.assert(test.maxscales->restart() == 0,
"Restarting MaxScale after modification "
"of global parameters should work");
return test.global_result;
}