mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03: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
This commit is contained in:
@ -26,6 +26,10 @@ let $_slave_timeout= $slave_timeout;
|
|||||||
if (!$_slave_timeout)
|
if (!$_slave_timeout)
|
||||||
{
|
{
|
||||||
let $_slave_timeout= 300;
|
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)
|
--let $_master_log_file= query_get_value(SHOW SLAVE STATUS, Master_Log_File, 1)
|
||||||
|
@ -50,6 +50,10 @@ let $_slave_timeout= $slave_timeout;
|
|||||||
if (!$_slave_timeout)
|
if (!$_slave_timeout)
|
||||||
{
|
{
|
||||||
let $_slave_timeout= 300;
|
let $_slave_timeout= 300;
|
||||||
|
if ($VALGRIND_TEST)
|
||||||
|
{
|
||||||
|
let $_slave_timeout= 1500;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($slave_error_param == '')
|
if ($slave_error_param == '')
|
||||||
|
Reference in New Issue
Block a user