mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01: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:
parent
8ff0a7f893
commit
addcf08d0f
2 changed files with 4 additions and 6 deletions
|
@ -19,11 +19,12 @@ a b c
|
|||
1 NULL NULL
|
||||
set debug_sync='now SIGNAL go';
|
||||
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;;
|
||||
connection con2;
|
||||
set debug_sync='now WAIT_FOR waiting';
|
||||
set debug_sync='now SIGNAL go2';
|
||||
set debug_sync='now SIGNAL go3';
|
||||
connection default;
|
||||
connection con1;
|
||||
connection default;
|
||||
|
|
|
@ -20,15 +20,12 @@ set debug_sync='now WAIT_FOR parked';
|
|||
select * from t1;
|
||||
set debug_sync='now SIGNAL go';
|
||||
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;
|
||||
--connection con2
|
||||
set debug_sync='now WAIT_FOR waiting';
|
||||
set debug_sync='now SIGNAL go2';
|
||||
|
||||
# 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;
|
||||
set debug_sync='now SIGNAL go3';
|
||||
|
||||
--connection default
|
||||
--reap
|
||||
|
|
Loading…
Reference in a new issue