From 518a57f041814672af1de20ef9c641cbdd96b2af Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Wed, 20 Dec 2017 16:02:10 +0200 Subject: [PATCH] Change service name as spaces are replaced with dashes If a service name contains spaced, e.g. "RW Split Router", those spaces will be replaced with dashes at startup. Consequently, dashes must be used when issuing commands. --- maxscale-system-test/mxs1457_ignore_deleted.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maxscale-system-test/mxs1457_ignore_deleted.cpp b/maxscale-system-test/mxs1457_ignore_deleted.cpp index e9c457a1d..679f20222 100644 --- a/maxscale-system-test/mxs1457_ignore_deleted.cpp +++ b/maxscale-system-test/mxs1457_ignore_deleted.cpp @@ -34,7 +34,7 @@ int main(int argc, char *argv[]) test.add_result(mysql_errno(conn) == 0, "Connection with users from master should fail"); mysql_close(conn); - test.maxscales->ssh_node(0, "maxadmin remove server server1 \"RW Split Router\"", true); + test.maxscales->ssh_node(0, "maxadmin remove server server1 \"RW-Split-Router\"", true); conn = open_conn_db(test.maxscales->rwsplit_port[0], test.maxscales->ip(0), "test", "auth_test", "test", false); test.add_result(mysql_errno(conn), "Connection should be OK: %s", mysql_error(conn));