mariadb/mysql-test/suite
unknown 92fc426386 Speed up mtr --parallel=<lots> by scheduling some slow tests earlier.
The patch also fixes a race in rpl_stop_slave.test.

On machines with lots of CPU and memory, something like `mtr --parallel=10`
can speed up the test suite enormously. However, we have a few test cases
that run for long (several minutes), and if we are unlucky and happen to
schedule those towards the end of the test suite, we end up with most
workers idle while waiting for the last slow test to end, significantly
delaying the finish of the entire suite.

Improve this by marking the offending tests as taking "long", and trying
to schedule those tests early. This reduces the time towards the end of
the test suite run where some workers are waiting with nothing to do for
the remaining workers each to finish their last test.

Also, the rpl_stop_slave test had a race which could cause it to take
a 300 seconds debug_sync timeout; this is fixed.

Testing on a 4-core 8GB machine, this patch speeds up the test suite with
around 30% for --parallel=10 (debug build), allowing to run the entire
suite in 5 minutes.
2011-01-03 15:33:39 +01:00
..
binlog Merge with MySQL 5.1.53 2010-11-25 00:57:34 +02:00
bugs Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
engines Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
federated Speed up mtr --parallel=<lots> by scheduling some slow tests earlier. 2011-01-03 15:33:39 +01:00
funcs_1 5.1.51 merge 2010-10-19 15:58:35 +02:00
funcs_2 merge 5.0-> 5.1 2009-04-24 13:00:17 -04:00
ibmdb2i Bug#49329 example (and other) engines use wrong collation for open tables hash 2009-12-11 12:31:16 +05:30
im
innodb MBug#687320: Fix sporadic test failures in innodb_mysql.test and partition_innodb_semi_consistent.test 2010-12-08 14:34:08 +01:00
innodb_plugin MBug#687320: Fix sporadic test failures in innodb_mysql.test and partition_innodb_semi_consistent.test 2010-12-08 14:34:08 +01:00
jp Bug #45159 : some tests in suite "jp" fail in embedded server (use LOAD DATA) 2009-09-11 15:52:08 +03:00
large_tests
manual Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
maria Speed up mtr --parallel=<lots> by scheduling some slow tests earlier. 2011-01-03 15:33:39 +01:00
ndb Merge with MySQL 5.1.52 2010-11-23 23:39:59 +02:00
ndb_team generalization of mtr to support suite.pm extensions: 2010-08-17 11:14:46 +04:00
parts Speed up mtr --parallel=<lots> by scheduling some slow tests earlier. 2011-01-03 15:33:39 +01:00
pbxt Fixes to not trigger end-consistency testing of pagecache. 2010-12-05 14:25:01 +02:00
percona Merge XtraDB from Percona-Server 5.1.52-11.6 into MariaDB 5.1 2010-11-24 14:04:38 +01:00
rpl Speed up mtr --parallel=<lots> by scheduling some slow tests earlier. 2011-01-03 15:33:39 +01:00
rpl_ndb generalization of mtr to support suite.pm extensions: 2010-08-17 11:14:46 +04:00
stress Merge trift2.:/MySQL/M51/mysql-5.1 2008-02-22 16:14:27 +01:00
sys_vars Merge with MySQL 5.1.52 2010-11-23 23:39:59 +02:00