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 5a7314099d
commit 69caf1b6d8

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;