mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Added larger timeout to backup_stages.test
MDEV-21546 main.backup_stages occasionally fails with lock wait timeout
This commit is contained in:
parent
f1c35a996f
commit
457e3128e0
2 changed files with 4 additions and 4 deletions
|
@ -63,7 +63,7 @@ INSERT INTO t_permanent_myisam SET col1 = 1;
|
|||
connect backup,localhost,root,,;
|
||||
connect con11,localhost,root,,;
|
||||
SET AUTOCOMMIT = 0;
|
||||
set session lock_wait_timeout=0;
|
||||
set session lock_wait_timeout=1;
|
||||
connect con12,localhost,root,,;
|
||||
SET AUTOCOMMIT = 1;
|
||||
# Between (connection default) BACKUP STAGE START and FLUSH
|
||||
|
@ -208,7 +208,7 @@ ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
|||
DROP TABLE t_con1_myisam;
|
||||
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
||||
connection con12;
|
||||
SET STATEMENT lock_wait_timeout=0 FOR UPDATE t_permanent_innodb SET col1 = 9;
|
||||
SET STATEMENT lock_wait_timeout=1 FOR UPDATE t_permanent_innodb SET col1 = 9;
|
||||
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
||||
connection backup;
|
||||
BACKUP STAGE END;
|
||||
|
|
|
@ -119,7 +119,7 @@ INSERT INTO t_permanent_myisam SET col1 = 1;
|
|||
--connect(backup,localhost,root,,)
|
||||
--connect(con11,localhost,root,,)
|
||||
SET AUTOCOMMIT = 0;
|
||||
set session lock_wait_timeout=0;
|
||||
set session lock_wait_timeout=1;
|
||||
--connect(con12,localhost,root,,)
|
||||
SET AUTOCOMMIT = 1;
|
||||
|
||||
|
@ -244,7 +244,7 @@ DROP TABLE t_con1_innodb;
|
|||
DROP TABLE t_con1_myisam;
|
||||
--connection con12
|
||||
--error ER_LOCK_WAIT_TIMEOUT
|
||||
SET STATEMENT lock_wait_timeout=0 FOR UPDATE t_permanent_innodb SET col1 = 9;
|
||||
SET STATEMENT lock_wait_timeout=1 FOR UPDATE t_permanent_innodb SET col1 = 9;
|
||||
|
||||
--connection backup
|
||||
BACKUP STAGE END;
|
||||
|
|
Loading…
Reference in a new issue