mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Replication tests fail on valgrind due to waiting-related timeouts
MTR raises default wait_for_pos_timeout from 300 to 1500 when tests are run with valgrind. The same needs to be done for other replication-related waits. The change should fix one of failures mentioned in MDEV-10653 (rpl.rpl_parallel fails in buildbot with timeout), the one on the valgrind builder; but not all of them
This commit is contained in:
parent
b2b6cf492e
commit
670b85804c
3 changed files with 12 additions and 0 deletions
|
|
@ -26,6 +26,10 @@ let $_slave_timeout= $slave_timeout;
|
|||
if (!$_slave_timeout)
|
||||
{
|
||||
let $_slave_timeout= 300;
|
||||
if ($VALGRIND_TEST)
|
||||
{
|
||||
let $_slave_timeout= 1500;
|
||||
}
|
||||
}
|
||||
|
||||
--let $_master_log_file= query_get_value(SHOW SLAVE STATUS, Master_Log_File, 1)
|
||||
|
|
|
|||
|
|
@ -34,6 +34,10 @@ let $_slave_timeout= $slave_timeout;
|
|||
if (!$_slave_timeout)
|
||||
{
|
||||
let $_slave_timeout= 120;
|
||||
if ($VALGRIND_TEST)
|
||||
{
|
||||
let $_slave_timeout= 1200;
|
||||
}
|
||||
}
|
||||
|
||||
--let $_result= `SELECT master_gtid_wait('$master_pos', $_slave_timeout)`
|
||||
|
|
|
|||
|
|
@ -50,6 +50,10 @@ let $_slave_timeout= $slave_timeout;
|
|||
if (!$_slave_timeout)
|
||||
{
|
||||
let $_slave_timeout= 300;
|
||||
if ($VALGRIND_TEST)
|
||||
{
|
||||
let $_slave_timeout= 1500;
|
||||
}
|
||||
}
|
||||
|
||||
if ($slave_error_param == '')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue