mariadb/mysql-test/suite
Luis Soares cb10771fd8 BUG#59147: rpl_circular_for_4_hosts fails sporadically
There is one part of the test case that needs to break
and re-establish the circular topology. For this the test
stops the slave threads on a couple of servers and restarts
them with START SLAVE. However, no check is done on the
status of the IO or SQL threads before proceeding with
the subsequent commands.
      
Because rpl_only_running_threads is set to 1 this can lead
to silently not syncing all slave threads as expected, 
ultimately resulting in unexpected results (and consequently
on a failing test run).
      
We fix this by replacing the START SLAVE instructions with
calls to --source include/start_slave.inc, which will wait
for the slave threads to be running (show 'Yes' in 
Slave_IO|SQL_Running fields of SHOW SLAVE STATUS) before 
proceeding. Additionally, we change rpl_sync.inc to make the
IO thread report that it is running when its running status
is any other than 'No'.
2011-02-03 16:09:33 +00:00
..
binlog Fixed pb failure. 2010-12-20 10:07:35 +01:00
bugs BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
engines Modifications in mysql-5.1 engines test suite. 2011-01-05 12:16:07 +05:30
federated Bug#35333, "If Federated table can't connect to remote host, can't retrieve 2010-11-29 22:46:43 -06:00
funcs_1 Test which runs slowly on some machines, is marked as big 2010-12-31 12:07:34 +01:00
funcs_2 merge 5.0-> 5.1 2009-04-24 13:00:17 -04:00
im Move instance manager tests to it's own suite 2007-08-29 19:02:33 +02:00
innodb Fix Bug#30423 "InnoDBs treatment of NULL in index stats causes bad 2011-01-14 09:02:28 -08:00
innodb_plugin Fix Bug#30423 "InnoDBs treatment of NULL in index stats causes bad 2011-01-14 09:02:28 -08:00
jp Bug #45159 : some tests in suite "jp" fail in embedded server (use LOAD DATA) 2009-09-11 15:52:08 +03:00
large_tests Bug#27029 alter table ... enable keys crashes mysqld on large table 2007-06-21 12:45:56 -04:00
manual BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
ndb Bug#57924: crash when creating partitioned table with 2011-01-10 16:20:28 +01:00
ndb_team BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
parts Bug#59418: parts suite have several failures with --embedded-server 2011-01-18 23:55:39 +01:00
rpl BUG#59147: rpl_circular_for_4_hosts fails sporadically 2011-02-03 16:09:33 +00:00
rpl_ndb BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
stress Merge trift2.:/MySQL/M51/mysql-5.1 2008-02-22 16:14:27 +01:00
sys_vars Merge of results of the review done in 5.1-bugteam to 5.1. 2011-01-27 08:56:59 +01:00