From 81a3c73c74bd101080f4065e6b4f746f138651ea Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Wed, 12 Sep 2018 08:39:54 +0300 Subject: [PATCH] Fix assert -> expect breakage --- maxscale-system-test/mxs1947_composite_roles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maxscale-system-test/mxs1947_composite_roles.cpp b/maxscale-system-test/mxs1947_composite_roles.cpp index 70c90b6b7..9272e9434 100644 --- a/maxscale-system-test/mxs1947_composite_roles.cpp +++ b/maxscale-system-test/mxs1947_composite_roles.cpp @@ -35,7 +35,7 @@ int main(int argc, char** argv) test.tprintf("Connect with a user that has a composite role as the default role"); MYSQL* conn = open_conn_db(test.maxscales->rwsplit_port[0], test.maxscales->IP[0], "db", "test", "test"); - test.assert(mysql_errno(conn) == 0, "Connection failed: %s", mysql_error(conn)); + test.expect(mysql_errno(conn) == 0, "Connection failed: %s", mysql_error(conn)); mysql_close(conn); auto cleanup =