Add format attribute to test functions, fix resulting errors

Fixes mysqlmon_failover_stress.
This commit is contained in:
Esa Korhonen
2018-09-12 14:10:04 +02:00
parent e1f2b81734
commit d65d815b99
10 changed files with 15 additions and 14 deletions

View File

@ -59,7 +59,7 @@ void do_query(TestConnections *test, bool should_fail)
"Query was successful when failure was expected." :
"Query failed when success was expected.";
test->add_result(failed == should_fail, msg);
test->add_result(failed == should_fail, "%s", msg);
test->maxscales->close_maxscale_connections(0);
test->stop_timeout();