summaryrefslogtreecommitdiff
path: root/mysql-test/main/sp-big.test
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2019-08-12 15:47:24 +0300
committerSergei Golubchik <serg@mariadb.org>2019-08-23 22:03:54 +0200
commit97dd057702d167559cdaee86eb0b1a455d925168 (patch)
tree08d714f224348c2829e5e78b9f0dd4b447485f45 /mysql-test/main/sp-big.test
parentb444b6b9100f8fff0d5b19597e21f35fe4c9d9cb (diff)
downloadmariadb-git-97dd057702d167559cdaee86eb0b1a455d925168.tar.gz
Fixed issues when running mtr with --valgrind
- Note that some issues was also fixed in 10.2 and 10.4. I also fixed them here to be able to continue with making 10.5 valgrind safe again - Disable connection threads warnings when doing shutdown
Diffstat (limited to 'mysql-test/main/sp-big.test')
-rw-r--r--mysql-test/main/sp-big.test13
1 files changed, 12 insertions, 1 deletions
diff --git a/mysql-test/main/sp-big.test b/mysql-test/main/sp-big.test
index 4220541697e..043e737105a 100644
--- a/mysql-test/main/sp-big.test
+++ b/mysql-test/main/sp-big.test
@@ -112,6 +112,17 @@ delimiter ;//
insert t1 select seq, seq, 1, 1, seq, seq, seq from seq_1_to_2000;
set @before=unix_timestamp();
call select_test();
-select unix_timestamp() - @before < 60;
+
+--let $time=60
+if ($VALGRIND_TEST)
+{
+ --let $time=600
+}
+
+--disable_query_log
+--eval set @time=$time;
+--enable_query_log
+
+select unix_timestamp() - @before < @time;
drop procedure select_test;
drop table t1;