mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-29710: Valgrind tests massively fail due to silently killing server on shutdown timeout
Let us disable Valgrind on tests that would fail because a server shutdown or a STOP SLAVE command would take longer, causing the test harness to forcibly and silently kill the server due to an exceeded timeout.
This commit is contained in:
@ -1,3 +1,5 @@
|
|||||||
|
--source include/no_valgrind_without_big.inc
|
||||||
|
|
||||||
# ==== Purpose ====
|
# ==== Purpose ====
|
||||||
#
|
#
|
||||||
# Configure two servers to be replication master and slave.
|
# Configure two servers to be replication master and slave.
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
-- source include/have_working_dns.inc
|
-- source include/have_working_dns.inc
|
||||||
-- source include/have_innodb.inc
|
-- source include/have_innodb.inc
|
||||||
-- source include/have_partition.inc
|
-- source include/have_partition.inc
|
||||||
|
-- source include/no_valgrind_without_big.inc
|
||||||
|
|
||||||
set sql_mode="";
|
set sql_mode="";
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
--source include/not_embedded.inc
|
--source include/not_embedded.inc
|
||||||
--source include/mysql_upgrade_preparation.inc
|
--source include/mysql_upgrade_preparation.inc
|
||||||
--source include/have_innodb.inc
|
--source include/have_innodb.inc
|
||||||
|
--source include/no_valgrind_without_big.inc
|
||||||
|
|
||||||
SET GLOBAL SQL_MODE="";
|
SET GLOBAL SQL_MODE="";
|
||||||
SET LOCAL SQL_MODE="";
|
SET LOCAL SQL_MODE="";
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
--source include/not_embedded.inc
|
--source include/not_embedded.inc
|
||||||
--source include/innodb_page_size.inc
|
--source include/innodb_page_size.inc
|
||||||
|
--source include/no_valgrind_without_big.inc
|
||||||
|
|
||||||
--echo #
|
--echo #
|
||||||
--echo # Bug#13955083 ALLOW IN-PLACE DDL OPERATIONS ON MISSING
|
--echo # Bug#13955083 ALLOW IN-PLACE DDL OPERATIONS ON MISSING
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
--source include/not_embedded.inc
|
--source include/not_embedded.inc
|
||||||
# The test is not big enough to use change buffering with larger page size.
|
# The test is not big enough to use change buffering with larger page size.
|
||||||
--source include/have_innodb_max_16k.inc
|
--source include/have_innodb_max_16k.inc
|
||||||
|
--source include/no_valgrind_without_big.inc
|
||||||
|
|
||||||
SET GLOBAL innodb_purge_rseg_truncate_frequency=1;
|
SET GLOBAL innodb_purge_rseg_truncate_frequency=1;
|
||||||
--disable_query_log
|
--disable_query_log
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
--source include/default_charset.inc
|
--source include/default_charset.inc
|
||||||
# need to restart server
|
# need to restart server
|
||||||
--source include/not_embedded.inc
|
--source include/not_embedded.inc
|
||||||
|
--source include/no_valgrind_without_big.inc
|
||||||
|
|
||||||
CREATE SCHEMA `repro`;
|
CREATE SCHEMA `repro`;
|
||||||
|
|
||||||
CREATE TABLE `repro`.`crew` (
|
CREATE TABLE `repro`.`crew` (
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
--source include/not_embedded.inc
|
--source include/not_embedded.inc
|
||||||
#Windows has trouble creating files/directories with long names
|
#Windows has trouble creating files/directories with long names
|
||||||
--source include/not_windows.inc
|
--source include/not_windows.inc
|
||||||
|
--source include/no_valgrind_without_big.inc
|
||||||
|
|
||||||
--echo #
|
--echo #
|
||||||
--echo # Bug#19419026 WHEN A TABLESPACE IS NOT FOUND, DO NOT REPORT "TABLE NOT FOUND"
|
--echo # Bug#19419026 WHEN A TABLESPACE IS NOT FOUND, DO NOT REPORT "TABLE NOT FOUND"
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
--source include/have_innodb.inc
|
--source include/have_innodb.inc
|
||||||
# Embedded server does not support restarting.
|
# Embedded server does not support restarting.
|
||||||
--source include/not_embedded.inc
|
--source include/not_embedded.inc
|
||||||
|
--source include/no_valgrind_without_big.inc
|
||||||
|
|
||||||
# MDEV-8841 - close tables opened by previous tests,
|
# MDEV-8841 - close tables opened by previous tests,
|
||||||
# so they don't get marked crashed when the server gets crashed
|
# so they don't get marked crashed when the server gets crashed
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
--source include/have_debug.inc
|
--source include/have_debug.inc
|
||||||
|
--source include/no_valgrind_without_big.inc
|
||||||
|
|
||||||
--echo ########
|
--echo ########
|
||||||
--echo # Test for generating "innodb_corrupted_pages" file during full and
|
--echo # Test for generating "innodb_corrupted_pages" file during full and
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
--let $rpl_topology=1->2
|
--let $rpl_topology=1->2
|
||||||
--source include/rpl_init.inc
|
--source include/rpl_init.inc
|
||||||
--source include/have_innodb.inc
|
--source include/have_innodb.inc
|
||||||
|
--source include/no_valgrind_without_big.inc
|
||||||
|
|
||||||
--echo *** Test normal shutdown/restart of slave server configured as a GTID slave. ***
|
--echo *** Test normal shutdown/restart of slave server configured as a GTID slave. ***
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
--source include/have_innodb.inc
|
--source include/have_innodb.inc
|
||||||
--let $rpl_topology=1->2
|
--let $rpl_topology=1->2
|
||||||
--source include/rpl_init.inc
|
--source include/rpl_init.inc
|
||||||
|
--source include/no_valgrind_without_big.inc
|
||||||
|
|
||||||
--connection server_2
|
--connection server_2
|
||||||
call mtr.add_suppression("The automatically created table.*name may not be entirely in lowercase");
|
call mtr.add_suppression("The automatically created table.*name may not be entirely in lowercase");
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
-- source include/have_innodb.inc
|
-- source include/have_innodb.inc
|
||||||
# include/restart_mysqld.inc does not work in embedded mode
|
# include/restart_mysqld.inc does not work in embedded mode
|
||||||
-- source include/not_embedded.inc
|
-- source include/not_embedded.inc
|
||||||
|
-- source include/no_valgrind_without_big.inc
|
||||||
|
|
||||||
# Check the default value
|
# Check the default value
|
||||||
SET @orig = @@global.innodb_buffer_pool_dump_at_shutdown;
|
SET @orig = @@global.innodb_buffer_pool_dump_at_shutdown;
|
||||||
|
Reference in New Issue
Block a user