MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Serge Kozlov Date:October 10 2009 10:27am
Subject:bzr commit into mysql-5.1-rep+2 branch (Serge.Kozlov:3133) Bug#42891
View as plain text  
#At file:///home/ksm/sun/repo/backport/bug42891/mysql-5.1%2B2-2/ based on revid:aelkin@stripped

 3133 Serge Kozlov	2009-10-10
      Bug#42891: Tests cleanup
      Fix for backport into mysql-5.1-rep+2
      modified:
        mysql-test/suite/rpl/r/rpl_heartbeat.result
        mysql-test/suite/rpl/t/rpl_heartbeat.test

=== modified file 'mysql-test/suite/rpl/r/rpl_heartbeat.result'
--- a/mysql-test/suite/rpl/r/rpl_heartbeat.result	2009-10-01 16:44:53 +0000
+++ b/mysql-test/suite/rpl/r/rpl_heartbeat.result	2009-10-10 10:27:07 +0000
@@ -1,4 +1,5 @@
 reset master;
+set @restore_slave_net_timeout= @@global.slave_net_timeout;
 set @@global.slave_net_timeout= 10;
 Warnings:
 Warning	1624	The currect value for master_heartbeat_period exceeds the new value of `slave_net_timeout' sec. A sensible value for the period should be less than the timeout.
@@ -140,4 +141,5 @@ Variable_name	Slave_heartbeat_period
 Value	0.500
 A heartbeat has been received by the slave
 drop table t1;
+set @@global.slave_net_timeout= @restore_slave_net_timeout;
 End of tests

=== modified file 'mysql-test/suite/rpl/t/rpl_heartbeat.test'
--- a/mysql-test/suite/rpl/t/rpl_heartbeat.test	2009-09-29 11:18:41 +0000
+++ b/mysql-test/suite/rpl/t/rpl_heartbeat.test	2009-10-10 10:27:07 +0000
@@ -16,6 +16,7 @@ connection master;
 reset master;
 
 connection slave;
+set @restore_slave_net_timeout= @@global.slave_net_timeout;
 set @@global.slave_net_timeout= 10;
 
 ###
@@ -161,6 +162,7 @@ drop table t1;
 
 #connection slave;
 sync_slave_with_master;
+set @@global.slave_net_timeout= @restore_slave_net_timeout;
 
 
 --echo End of tests

Thread
bzr commit into mysql-5.1-rep+2 branch (Serge.Kozlov:3133) Bug#42891Serge Kozlov10 Oct