diff --git a/maxscale-system-test/mxs1776_ps_exec_hang.cpp b/maxscale-system-test/mxs1776_ps_exec_hang.cpp index 09c41799c..e8d0c0d9e 100644 --- a/maxscale-system-test/mxs1776_ps_exec_hang.cpp +++ b/maxscale-system-test/mxs1776_ps_exec_hang.cpp @@ -50,8 +50,9 @@ void run_test(TestConnections& test, TestCase test_case) cout << test_case.name << endl; test.expect(test_case.func(test.maxscales->conn_rwsplit[0], stmt, bind), - "Test '%s' failed", - test_case.name.c_str()); + "Test '%s' failed: %s %s", test_case.name.c_str(), + mysql_error(test.maxscales->conn_rwsplit[0]), + mysql_stmt_error(stmt)); mysql_stmt_close(stmt);