mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-29 01:21:37 +00:00
Make explicit --chunk-size disable auto-sizing (set --chunk-time=0).
This commit is contained in:
@@ -9,7 +9,7 @@ BEGIN {
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use English qw(-no_match_vars);
|
||||
use Test::More tests => 17;
|
||||
use Test::More tests => 18;
|
||||
|
||||
use PerconaTest;
|
||||
shift @INC; # our unshift (above)
|
||||
@@ -119,6 +119,13 @@ like(
|
||||
"--quiet disables --progress"
|
||||
);
|
||||
|
||||
$output = `$trunk/bin/pt-table-checksum --help --chunk-size 500`;
|
||||
like(
|
||||
$output,
|
||||
qr/^ --chunk-time\s+0$/m,
|
||||
"--chunk-size sets --chunk-time=0"
|
||||
);
|
||||
|
||||
# ############################################################################
|
||||
# Only 1 DSN should be allowed on the command line; no extra args.
|
||||
# ############################################################################
|
||||
|
Reference in New Issue
Block a user