Commit 69caf1b6 authored by Luis Soares's avatar Luis Soares

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.
parent 5a731409
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment