Use expect in mxs1947_composite_roles

`assert` was renamed to `expect`.
This commit is contained in:
Markus Mäkelä 2018-09-12 11:10:17 +03:00
parent 96a78685bc
commit 6f5d089131
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -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 =