1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-05 13:16:09 +03:00

Add --source include/long_test.inc to some tests

This will make mysql-test-run.pl try to schedule these long-running
(> 60 seconds) tests early in --parallel runs, which helps avoid that
the testsuite gets stuck with a few long-running tests at the end
while most other test workers are idle.

This speed up mtr --parallel=96 with 25 seconds for me.

Reviewed-by: Brandon Nesterenko <brandon.nesterenko@mariadb.com>
Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
This commit is contained in:
Kristian Nielsen
2025-03-13 10:43:21 +01:00
parent b6b6bb8d36
commit acaf07daed
14 changed files with 14 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
# We use this --source include to mark a test as taking long to run.
# We can use this to schedule such test early (to not be left with
# only one or two long tests running, and rests of works idle), or to
# only one or two long tests running, and rests of workers idle), or to
# run a quick test skipping long-running test cases.
--source include/no_valgrind_without_big.inc

View File

@@ -2,6 +2,7 @@
# Tests BACKUP STAGE locking
########################################################################
--source include/long_test.inc
--source include/have_innodb.inc
--source include/have_metadata_lock_info.inc
--source include/not_embedded.inc

View File

@@ -18,6 +18,7 @@
# - with annotated events, default checksums and minimal binlog row image
#
--source include/long_test.inc
# The test can take very long time with valgrind
--source include/not_valgrind.inc

View File

@@ -6,7 +6,7 @@
# Checking of other prerequisites is in charset_master.test #
################################################################################
--source include/no_valgrind_without_big.inc
--source include/long_test.inc
--source include/have_innodb.inc
# Starting with MariaDB 10.6, ensure that DDL recovery will have completed

View File

@@ -1,3 +1,4 @@
--source include/long_test.inc
--source include/have_innodb.inc
set session transaction isolation level read committed;

View File

@@ -1,5 +1,5 @@
--source include/long_test.inc
--source include/have_debug.inc
--source include/no_valgrind_without_big.inc
--source include/innodb_undo_tablespaces.inc
--echo ########

View File

@@ -1,3 +1,4 @@
--source include/long_test.inc
--source include/have_innodb.inc
--source include/have_partition.inc
--source include/have_debug_sync.inc

View File

@@ -1,3 +1,4 @@
--source include/long_test.inc
--source include/have_partition.inc
--source include/have_debug_sync.inc

View File

@@ -1,3 +1,4 @@
--source include/long_test.inc
--source include/have_partition.inc
--source include/have_debug_sync.inc

View File

@@ -9,6 +9,7 @@
# * Various states of master and heartbeat
# * Circular replication
#############################################################
--source include/long_test.inc
--source include/master-slave.inc
#
# The test runs long and does not have any specifics to

View File

@@ -4,6 +4,7 @@
# Please check all dependent tests after modifying it
#
source include/long_test.inc;
source include/not_embedded.inc;
source include/have_innodb.inc;
source include/master-slave.inc;

View File

@@ -1,3 +1,4 @@
--source include/long_test.inc
--source include/have_binlog_format_statement.inc
set global rpl_semi_sync_master_wait_point=AFTER_SYNC;
source rpl_semi_sync.test;

View File

@@ -1,3 +1,4 @@
--source include/long_test.inc
--source include/have_binlog_format_row.inc
set global rpl_semi_sync_master_wait_point=AFTER_SYNC;
source rpl_semi_sync.test;

View File

@@ -4,6 +4,7 @@
# Please check all dependent tests after modifying it
#
--source include/long_test.inc
--source include/have_binlog_format_row.inc
--source include/master-slave.inc