~percona-toolkit-dev/percona-toolkit/pt-stalk-iter-1-bug-1070434

« back to all changes in this revision

Viewing changes to t/pt-table-checksum/bugs.t

  • Committer: Daniel Nichter
  • Date: 2012-10-19 22:57:53 UTC
  • mto: This revision was merged to the branch mainline in revision 418.
  • Revision ID: daniel@percona.com-20121019225753-3ndbat6m4szglam0
Tweak warning.  Enhance docu around --check-binlog-format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
205
205
 
206
206
$output = output( sub { pt_table_checksum::main(@args) }, stderr => 1 );
207
207
 
208
 
my $re = qr/ has binlog_format .*? has format (\S+)\. This can break replication/msi;
 
208
my $re = qr/ has binlog_format .*? has binlog_format (\S+)\./msi;
209
209
like(
210
210
   $output,
211
211
   $re,
218
218
   "...and warns for both level 1 and level 2 slaves"
219
219
) or diag($output);
220
220
 
221
 
diag(`$trunk/sandbox/stop-sandbox slave 12348 12349`);
 
221
diag(`$trunk/sandbox/stop-sandbox 12348 12349`);
222
222
}
223
223
# #############################################################################
224
224
# Done.