Restart slave2 to fix pt-slave-delay/basics.t.

This commit is contained in:
Daniel Nichter
2012-06-03 15:57:56 -04:00
parent a514b3870a
commit 74169478d7

View File

@@ -87,7 +87,7 @@ like(
# Sometimes the slave will be in a state of "reconnecting to master" that will
# take a while. Help that along. But, we've disconnected $slave_dbh by doing
# 'stop' on the sandbox above, so we need to reconnect.
$slave_dbh = $sb->get_dbh_for('slave1');
$slave_dbh = $sb->get_dbh_for('slave2');
$slave_dbh->do('STOP SLAVE');
$slave_dbh->do('START SLAVE');