mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-27 16:12:04 +00:00
Make timing test more reasonable on fast systems.
This commit is contained in:
@@ -44,7 +44,7 @@ $exit_status = pt_table_checksum::main(@args,
|
|||||||
my $t = time - $t0;
|
my $t = time - $t0;
|
||||||
|
|
||||||
ok(
|
ok(
|
||||||
$t >= 1.5 && $t <= 2.5,
|
$t >= 1.1 && $t <= 2.5,
|
||||||
"Ran in roughly --run-time 1 second"
|
"Ran in roughly --run-time 1 second"
|
||||||
) or diag("Actual run time: $t");
|
) or diag("Actual run time: $t");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user