Tweak, fix, and add tests so every tool passes.

This commit is contained in:
Daniel Nichter
2011-08-02 16:38:03 -06:00
parent 1e6c4daf23
commit 747d63a6d3
13 changed files with 227 additions and 134 deletions

View File

@@ -32,6 +32,14 @@ else {
plan tests => 4;
}
# Previous tests slave 12347 to 12346 which makes pt-table-checksum
# complain that it cannot connect to 12347 for checking repl filters
# and such. 12347 isn't present but SHOW SLAVE HOSTS on 12346 hasn't
# figured that out yet, so we restart 12346 to refresh this list.
diag(`/tmp/12346/stop >/dev/null`);
diag(`/tmp/12346/start >/dev/null`);
$slave_dbh = $sb->get_dbh_for('slave1');
my $output;
my $cnf = "/tmp/12345/my.sandbox.cnf";
my $cmd = "$trunk/bin/pt-table-sync -F $cnf";