mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
BUG#42370: rpl_trigger.test: Test case timeout after 900 seconds
The test fails with timeout when applying diff on two tables. In this test case, there can be a situation when the slave is not yet synced with the master, thence the changes may not be on the slave at diff time. This patch addresses this issue by synchronizing master and slave before the diff takes place.
This commit is contained in:
parent
5a7314099d
commit
69caf1b6d8
1 changed files with 1 additions and 0 deletions
|
@ -498,6 +498,7 @@ create trigger tr
|
|||
set autocommit = 0;
|
||||
insert into t1 values ( 1 );
|
||||
rollback;
|
||||
sync_slave_with_master;
|
||||
|
||||
let $diff_table_1=master:test.t1;
|
||||
let $diff_table_2=slave:test.t1;
|
||||
|
|
Loading…
Add table
Reference in a new issue