mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-26 05:58:16 +00:00
fixed date test error in pt-query-digest
This commit is contained in:
@@ -53,16 +53,16 @@ ok(
|
||||
);
|
||||
|
||||
|
||||
# This test will fail come July 2015.
|
||||
# This test will fail come July 2016.
|
||||
ok(
|
||||
no_diff(
|
||||
sub { pt_query_digest::main(@args,
|
||||
"$sample_in/slow033.txt", qw(--since 2190d),
|
||||
"$sample_in/slow033.txt", qw(--since 2555d),
|
||||
)},
|
||||
"t/pt-query-digest/samples/slow033-since-Nd.txt",
|
||||
stderr => 1,
|
||||
),
|
||||
'--since 2190d (6 years ago)'
|
||||
'--since 2555d (6 years ago)'
|
||||
);
|
||||
|
||||
# --until
|
||||
|
Reference in New Issue
Block a user