mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
Revert test changes from "Fixed debug_sync timeout in deadlock_drop_table"
After introducing multiple signals possible for debug_sync, the test changes are no longer necessary. Revert them to the original state.
This commit is contained in:
@@ -19,11 +19,12 @@ a b c
|
|||||||
1 NULL NULL
|
1 NULL NULL
|
||||||
set debug_sync='now SIGNAL go';
|
set debug_sync='now SIGNAL go';
|
||||||
set debug_sync='now WAIT_FOR parked2';
|
set debug_sync='now WAIT_FOR parked2';
|
||||||
set debug_sync='before_wait_for_refs SIGNAL waiting WAIT_FOR go2';
|
set debug_sync='before_wait_for_refs SIGNAL waiting WAIT_FOR go3';
|
||||||
drop table t1;;
|
drop table t1;;
|
||||||
connection con2;
|
connection con2;
|
||||||
set debug_sync='now WAIT_FOR waiting';
|
set debug_sync='now WAIT_FOR waiting';
|
||||||
set debug_sync='now SIGNAL go2';
|
set debug_sync='now SIGNAL go2';
|
||||||
|
set debug_sync='now SIGNAL go3';
|
||||||
connection default;
|
connection default;
|
||||||
connection con1;
|
connection con1;
|
||||||
connection default;
|
connection default;
|
||||||
|
@@ -20,15 +20,12 @@ set debug_sync='now WAIT_FOR parked';
|
|||||||
select * from t1;
|
select * from t1;
|
||||||
set debug_sync='now SIGNAL go';
|
set debug_sync='now SIGNAL go';
|
||||||
set debug_sync='now WAIT_FOR parked2';
|
set debug_sync='now WAIT_FOR parked2';
|
||||||
set debug_sync='before_wait_for_refs SIGNAL waiting WAIT_FOR go2';
|
set debug_sync='before_wait_for_refs SIGNAL waiting WAIT_FOR go3';
|
||||||
--send drop table t1;
|
--send drop table t1;
|
||||||
--connection con2
|
--connection con2
|
||||||
set debug_sync='now WAIT_FOR waiting';
|
set debug_sync='now WAIT_FOR waiting';
|
||||||
set debug_sync='now SIGNAL go2';
|
set debug_sync='now SIGNAL go2';
|
||||||
|
set debug_sync='now SIGNAL go3';
|
||||||
# Write out show processlist if the debug sync point times out
|
|
||||||
let $wait_condition= select count(*)=0 from information_schema.processlist where state like "%debug%";
|
|
||||||
source include/wait_condition.inc;
|
|
||||||
|
|
||||||
--connection default
|
--connection default
|
||||||
--reap
|
--reap
|
||||||
|
Reference in New Issue
Block a user