MXS-1899: Test that generated [maxscale] sections work
The test alters the configuration at runtime and restarts MaxScale.
This commit is contained in:
18
maxscale-system-test/mxs1899_generated_cnf.cpp
Normal file
18
maxscale-system-test/mxs1899_generated_cnf.cpp
Normal file
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
Reference in New Issue
Block a user