From e1487388e4284d2aada10d2387e7c7c889ed25e9 Mon Sep 17 00:00:00 2001 From: Luis Soares Date: Tue, 27 Jan 2009 12:32:16 +0100 Subject: [PATCH] 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. --- mysql-test/suite/rpl/t/rpl_trigger.test | 1 + 1 file changed, 1 insertion(+) diff --git a/mysql-test/suite/rpl/t/rpl_trigger.test b/mysql-test/suite/rpl/t/rpl_trigger.test index f3e7841ce9f..1317e6b6289 100644 --- a/mysql-test/suite/rpl/t/rpl_trigger.test +++ b/mysql-test/suite/rpl/t/rpl_trigger.test @@ -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;