diff --git a/maxscale-system-test/cnf/maxscale.cnf.template.no_use_of_reserved_names b/maxscale-system-test/cnf/maxscale.cnf.template.no_use_of_reserved_names new file mode 100644 index 000000000..6636fa548 --- /dev/null +++ b/maxscale-system-test/cnf/maxscale.cnf.template.no_use_of_reserved_names @@ -0,0 +1,57 @@ +[maxscale] +threads=###threads### + +[@@server1] +type=server +address=###node_server_IP_1### +port=###node_server_port_1### +protocol=MySQLBackend + +[server2] +type=server +address=###node_server_IP_2### +port=###node_server_port_2### +protocol=MySQLBackend + +[server3] +type=server +address=###node_server_IP_3### +port=###node_server_port_3### +protocol=MySQLBackend + +[server4] +type=server +address=###node_server_IP_4### +port=###node_server_port_4### +protocol=MySQLBackend + +[MySQL-Monitor] +type=monitor +module=mysqlmon +servers=@@server1,server2,server3,server4 +user=maxskysql +password=skysql +monitor_interval=1000 + +[@@RW-Split-Router] +type=service +router=readwritesplit +servers=@@server1,server2,server3,server4 +user=maxskysql +password=skysql + +[RW-Split-Listener] +type=listener +service=@@RW-Split-Router +protocol=MySQLClient +port=4006 + +[CLI] +type=service +router=cli + +[CLI-Listener] +type=listener +service=CLI +protocol=maxscaled +socket=default diff --git a/maxscale-system-test/config_test.cpp b/maxscale-system-test/config_test.cpp index b12aee71c..5a3f39de8 100644 --- a/maxscale-system-test/config_test.cpp +++ b/maxscale-system-test/config_test.cpp @@ -23,6 +23,7 @@ const char* bad_configs[] = "mxs1731_empty_param", // passwd is still supported // "old_passwd", + "no_use_of_reserved_names", NULL };