From d6beb731c4d2b20dcd52fa5cf3d8c15ab3834201 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Wed, 6 May 2020 18:06:54 +0200 Subject: [PATCH] Use skip() instead of ok() in set_testing-t.cpp --- test/tap/tests/set_testing-t.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tap/tests/set_testing-t.cpp b/test/tap/tests/set_testing-t.cpp index 1ebd0a1f0..1a79915c0 100644 --- a/test/tap/tests/set_testing-t.cpp +++ b/test/tap/tests/set_testing-t.cpp @@ -413,12 +413,12 @@ void * my_conn_thread(void *arg) { if (strcmp(username,(char *)"root")) { if (strstr(testCases[r2].command.c_str(),"database")) { std::lock_guard lock(mtx_); - ok(true, "mysql connection [%p], thread_id [%lu], skipped test for command [%s]", mysql, mysql->thread_id, testCases[r2].command.c_str()); + skip(1, "mysql connection [%p], command [%s]", mysql, testCases[r2].command.c_str()); continue; } if (strstr(testCases[r2].command.c_str(),"sql_log_bin")) { std::lock_guard lock(mtx_); - ok(true, "mysql connection [%p], thread_id [%lu], skipped test for command [%s]", mysql, mysql->thread_id, testCases[r2].command.c_str()); + skip(1, "mysql connection [%p], command [%s]", mysql, testCases[r2].command.c_str()); continue; } }