Browse Source

Fix _another_ race in test case rpl_cant_read_event_incident (seen in 5.5 Buildbot).

pull/374/head
unknown 14 years ago
parent
commit
bc2c40e71b
  1. 2
      mysql-test/suite/rpl/r/rpl_cant_read_event_incident.result
  2. 8
      mysql-test/suite/rpl/t/rpl_cant_read_event_incident.test

2
mysql-test/suite/rpl/r/rpl_cant_read_event_incident.result

@ -15,5 +15,5 @@ Last_IO_Error = 'Got fatal error 1236 from master when reading data from binary
reset master;
stop slave;
reset slave;
drop table t;
drop table if exists t;
End of the tests

8
mysql-test/suite/rpl/t/rpl_cant_read_event_incident.test

@ -69,6 +69,12 @@ reset master;
--connection slave
stop slave;
reset slave;
drop table t; # table was created from binlog. it does not exist on master.
# The table t may have been created on the slave from binlog. It does not exist
# on the master.
# "May", as it depends on whether the SQL thread had time do do the CREATE
# TABLE before we stopped.
--disable_warnings
drop table if exists t;
--enable_warnings
--echo End of the tests
Loading…
Cancel
Save