summaryrefslogtreecommitdiff
path: root/plugin/query_response_time
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2013-06-06 12:01:09 +0400
committerSergey Vojtovich <svoj@mariadb.org>2013-06-06 12:01:09 +0400
commit7f58eb4f79f3b856258b4e1d1203b6e7f27aa3de (patch)
treef23941241a602116bf8eff72e44f102298a9bb74 /plugin/query_response_time
parentccdfeb04d877bc79e37eb27bd0a8f4dd35cc25ea (diff)
downloadmariadb-git-7f58eb4f79f3b856258b4e1d1203b6e7f27aa3de.tar.gz
MDEV-4568 - Port Percona response time distribution as audit plugin
Test case fixes.
Diffstat (limited to 'plugin/query_response_time')
-rw-r--r--plugin/query_response_time/mysql-test/query_response_time/query_response_time-stored.test9
-rw-r--r--plugin/query_response_time/mysql-test/query_response_time/query_response_time.test9
2 files changed, 18 insertions, 0 deletions
diff --git a/plugin/query_response_time/mysql-test/query_response_time/query_response_time-stored.test b/plugin/query_response_time/mysql-test/query_response_time/query_response_time-stored.test
index e5d15c750f1..e281bd352f1 100644
--- a/plugin/query_response_time/mysql-test/query_response_time/query_response_time-stored.test
+++ b/plugin/query_response_time/mysql-test/query_response_time/query_response_time-stored.test
@@ -1,5 +1,14 @@
--source include/have_debug.inc
+# The file with expected results fits only to a run without
+# ps-protocol/sp-protocol/cursor-protocol/view-protocol.
+if (`SELECT $PS_PROTOCOL + $SP_PROTOCOL + $CURSOR_PROTOCOL
+ + $VIEW_PROTOCOL > 0`)
+{
+ --skip Test requires: ps-protocol/sp-protocol/cursor-protocol/view-protocol disabled
+}
+
+
CREATE TABLE t(a INT);
delimiter ^;
diff --git a/plugin/query_response_time/mysql-test/query_response_time/query_response_time.test b/plugin/query_response_time/mysql-test/query_response_time/query_response_time.test
index ed8f60b4acf..5caec36fa96 100644
--- a/plugin/query_response_time/mysql-test/query_response_time/query_response_time.test
+++ b/plugin/query_response_time/mysql-test/query_response_time/query_response_time.test
@@ -1,5 +1,14 @@
--source include/have_debug.inc
+# The file with expected results fits only to a run without
+# ps-protocol/sp-protocol/cursor-protocol/view-protocol.
+if (`SELECT $PS_PROTOCOL + $SP_PROTOCOL + $CURSOR_PROTOCOL
+ + $VIEW_PROTOCOL > 0`)
+{
+ --skip Test requires: ps-protocol/sp-protocol/cursor-protocol/view-protocol disabled
+}
+
+
--let base=1
--source query_response_time.inc
--let base=2