List:Commits« Previous MessageNext Message »
From:Serge Kozlov Date:January 19 2009 12:32pm
Subject:bzr commit into mysql-5.1-bugteam branch (Serge.Kozlov:2748) Bug#25118
View as plain text  
#At file:///home/ksm/sun/repo/bug25228/mysql-5.1-bugteam/ based on revid:timothy.smith@stripped

 2748 Serge Kozlov	2009-01-19
      Bug#25118:
      1. Added waiting proper state of slave for start/stop commands
      2. Fixed wrong name of binlog file.
      3. Updated result file.
modified:
  mysql-test/suite/rpl/r/rpl_relayspace.result
  mysql-test/suite/rpl/t/rpl_relayspace.test

=== modified file 'mysql-test/suite/rpl/r/rpl_relayspace.result'
--- a/mysql-test/suite/rpl/r/rpl_relayspace.result	2007-06-27 12:28:02 +0000
+++ b/mysql-test/suite/rpl/r/rpl_relayspace.result	2009-01-19 12:31:55 +0000
@@ -14,6 +14,6 @@ start slave io_thread;
 stop slave io_thread;
 reset slave;
 start slave;
-select master_pos_wait('master-bin.001',200,6)=-1;
-master_pos_wait('master-bin.001',200,6)=-1
+select master_pos_wait('master-bin.000001',200,6)=-1;
+master_pos_wait('master-bin.000001',200,6)=-1
 0

=== modified file 'mysql-test/suite/rpl/t/rpl_relayspace.test'
--- a/mysql-test/suite/rpl/t/rpl_relayspace.test	2008-02-28 11:36:14 +0000
+++ b/mysql-test/suite/rpl/t/rpl_relayspace.test	2009-01-19 12:31:55 +0000
@@ -4,6 +4,7 @@
 source include/master-slave.inc;
 connection slave;
 stop slave;
+source include/wait_for_slave_to_stop.inc;
 connection master;
 # This will generate a master's binlog > 10 bytes
 create table t1 (a int);
@@ -20,6 +21,7 @@ source include/wait_for_slave_param.inc;
 
 # A bug caused the I/O thread to refuse stopping.
 stop slave io_thread;
+source include/wait_for_slave_io_to_stop.inc;
 reset slave;
 start slave;
 # The I/O thread stops filling the relay log when
@@ -32,6 +34,6 @@ start slave;
 # it will timeout after 10 seconds;
 # also the slave will probably not cooperate to shutdown
 # (as 2 threads are locked)
-select master_pos_wait('master-bin.001',200,6)=-1;
+select master_pos_wait('master-bin.000001',200,6)=-1;
 
 # End of 4.1 tests

Thread
bzr commit into mysql-5.1-bugteam branch (Serge.Kozlov:2748) Bug#25118Serge Kozlov19 Jan