summaryrefslogtreecommitdiff
path: root/mysql-test/t/skip_name_resolve.test
diff options
context:
space:
mode:
authorDmitry Lenev <dlenev@mysql.com>2009-03-04 15:33:56 +0300
committerDmitry Lenev <dlenev@mysql.com>2009-03-04 15:33:56 +0300
commit161b8d0b2ffae81015d6348c6ea42bff1ea41d93 (patch)
tree7ca0d7a14b2ec5821ba7d8f8ff98aea8094c1bf4 /mysql-test/t/skip_name_resolve.test
parent61f905cfa1e82a406f74ba890ab6d9a645556895 (diff)
downloadmariadb-git-161b8d0b2ffae81015d6348c6ea42bff1ea41d93.tar.gz
Fix for bug #40702 "skip_name_resolve fails sporadically on
pushbuild". Under new MTR the server is not restarted for every test, so threads started in the previous test case can show up in the results of SHOW PROCESSLIST statement in this test, causing a test failure. Since we are not really interested in results of SHOW PROCESSLIST in this test but rather in fact that server doesn't crash when executing this statement this fix simply disables output of this statement. mysql-test/r/skip_name_resolve.result: Disable SHOW PROCESSLIST output to make test immune to threads started in previous test cases. mysql-test/t/skip_name_resolve.test: Disable SHOW PROCESSLIST output to make test immune to threads started in previous test cases.
Diffstat (limited to 'mysql-test/t/skip_name_resolve.test')
-rw-r--r--mysql-test/t/skip_name_resolve.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/mysql-test/t/skip_name_resolve.test b/mysql-test/t/skip_name_resolve.test
index 3f732c8912b..4b01c7ef913 100644
--- a/mysql-test/t/skip_name_resolve.test
+++ b/mysql-test/t/skip_name_resolve.test
@@ -15,6 +15,9 @@ DROP USER mysqltest_1@'127.0.0.1/255.255.255.255';
connect (con1, 127.0.0.1, root, , test, $MASTER_MYPORT, );
--replace_column 1 #
select user();
---replace_column 1 <id> 3 <host> 5 <command> 6 <time> 7 <state> 8 <info>
+# We are only interested in the fact that statement below doesn't
+# crash server.
+--disable_result_log
show processlist;
+--enable_result_log
connection default;