1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Updated some tests for --valgrind

- Increased timeout for binlog_mysqlbinlog_raw_flush.test.
  The old timeout was not enough when running with --valgrind
- Disabled ssl_timeout for --valgrind as it times out
- Disabled binlog_truncate_multi_engine for --valgrind as it does restarts
This commit is contained in:
Monty
2022-12-20 13:38:29 +02:00
committed by Sergei Petrunia
parent 43dc42334d
commit 5e0832e132
3 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,6 @@
--source include/have_ssl_communication.inc --source include/have_ssl_communication.inc
# Do not run this test with valgrind as may timeout
--source include/not_valgrind.inc
# Save the initial number of concurrent sessions # Save the initial number of concurrent sessions
--source include/count_sessions.inc --source include/count_sessions.inc

View File

@ -26,7 +26,7 @@ FLUSH LOGS;
INSERT INTO t1 VALUES (1); INSERT INTO t1 VALUES (1);
# Read binlog data from master to intermediary result file # Read binlog data from master to intermediary result file
--let TIMEOUT=1 --let TIMEOUT=5
--echo # timeout TIMEOUT MYSQL_BINLOG --raw --read-from-remote-server --user=root --host=127.0.0.1 --port=MASTER_MYPORT --stop-never --result-file=MYSQLTEST_VARDIR/tmp/ master-bin.000001 --echo # timeout TIMEOUT MYSQL_BINLOG --raw --read-from-remote-server --user=root --host=127.0.0.1 --port=MASTER_MYPORT --stop-never --result-file=MYSQLTEST_VARDIR/tmp/ master-bin.000001
--error 124 # Error 124 means timeout was reached --error 124 # Error 124 means timeout was reached
--exec timeout $TIMEOUT $MYSQL_BINLOG --raw --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT --stop-never --result-file=$MYSQLTEST_VARDIR/tmp/ master-bin.000001 --exec timeout $TIMEOUT $MYSQL_BINLOG --raw --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT --stop-never --result-file=$MYSQLTEST_VARDIR/tmp/ master-bin.000001

View File

@ -12,6 +12,7 @@
--source include/have_debug.inc --source include/have_debug.inc
--source include/have_debug_sync.inc --source include/have_debug_sync.inc
--source include/have_binlog_format_row.inc --source include/have_binlog_format_row.inc
--source include/not_valgrind.inc
--let $old_max_binlog_size= `select @@global.max_binlog_size` --let $old_max_binlog_size= `select @@global.max_binlog_size`
call mtr.add_suppression("Can.t init tc log"); call mtr.add_suppression("Can.t init tc log");