Skip to content

Commit

Permalink
MDEV-8443: mysql-test - innodb.innodb_simulate_comp_failures 'innodb_…
Browse files Browse the repository at this point in the history
…plugin' is failing

Problem was that test just takes too long time in slow I/O and triggers
testcase timeout. Reduced the number of operations and inserts to make
test shorter.
  • Loading branch information
Jan Lindström committed Jul 20, 2015
1 parent 40215a9 commit 0bb0ace
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ CREATE TABLE t1(id INT AUTO_INCREMENT PRIMARY KEY, msg VARCHAR(255), KEY msg_i(m
SET GLOBAL innodb_simulate_comp_failures = 25;
SELECT COUNT(*) FROM t1;
COUNT(*)
100000
10000
4 changes: 2 additions & 2 deletions mysql-test/suite/innodb/t/innodb_simulate_comp_failures.test
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
--source include/big_test.inc
# test takes too long with valgrind
--source include/not_valgrind.inc
--let $num_inserts = 100000
--let $num_ops = 30000
--let $num_inserts = 10000
--let $num_ops = 10000
--source suite/innodb/include/innodb_simulate_comp_failures.inc
# clean exit
--exit

0 comments on commit 0bb0ace

Please sign in to comment.