Skip to content

Commit 685b527

Browse files
committed
MDEV-16060: Speed up the test by 1 second
1 parent 9053047 commit 685b527

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mysql-test/suite/innodb/r/foreign-keys.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ SET debug_sync='alter_table_intermediate_table_created SIGNAL ready WAIT_FOR go'
110110
ALTER TABLE t1 ADD FOREIGN KEY(pk) REFERENCES t2(pk) ON UPDATE CASCADE;
111111
connect con1, localhost, root;
112112
SET debug_sync='now WAIT_FOR ready';
113-
SET lock_wait_timeout=1;
113+
SET lock_wait_timeout=0;
114114
UPDATE t2 SET pk=10 WHERE pk=1;
115115
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
116116
PREPARE stmt FROM 'UPDATE t2 SET pk=10 WHERE pk=1';

mysql-test/suite/innodb/t/foreign-keys.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ send ALTER TABLE t1 ADD FOREIGN KEY(pk) REFERENCES t2(pk) ON UPDATE CASCADE;
140140

141141
connect con1, localhost, root;
142142
SET debug_sync='now WAIT_FOR ready';
143-
SET lock_wait_timeout=1; # change to 0 in 10.3
143+
SET lock_wait_timeout=0;
144144
--error ER_LOCK_WAIT_TIMEOUT
145145
UPDATE t2 SET pk=10 WHERE pk=1;
146146
PREPARE stmt FROM 'UPDATE t2 SET pk=10 WHERE pk=1';

0 commit comments

Comments
 (0)