PT-1554 More tests fixed for pt-duplicate-key-checker

This commit is contained in:
Carlos Salguero
2018-06-14 11:05:32 -03:00
parent 5a47bac4d4
commit 07a149f9a7
3 changed files with 52 additions and 1 deletions

View File

@@ -153,10 +153,11 @@ ok(
# https://bugs.launchpad.net/percona-toolkit/+bug/1402730
# #############################################################################
$want = $sandbox_version lt '8.0' ? "$sample/simple_dupe_bug_1402730.txt" : "$sample/simple_dupe_bug_1402730_80.txt";
ok(
no_diff(
sub { pt_duplicate_key_checker::main(@args, qw(-t test.domains --verbose)) },
"$sample/simple_dupe_bug_1217013.txt", keep_output=>1),
"$want", keep_output=>1),
q[--verbose option doesn't skip dupes reporting (bug 1402730)]
) or diag($test_diff);