1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03: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:
Luis Soares
2009-01-27 12:32:16 +01:00
parent 47e19cf2d5
commit e1487388e4

View File

@ -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;