mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-28 17:15:44 +00:00
t/pt-query-digest/read_timeout.t: Disregard the fractional part of $waited
This commit is contained in:
@@ -38,7 +38,7 @@ if ( $timeout ) {
|
||||
}
|
||||
|
||||
ok(
|
||||
$waited >= 2 && $waited < 4,
|
||||
$waited >= 2 && int($waited) < 4,
|
||||
sprintf("--read-timeout 2 waited %.1f seconds reading STDIN", $waited)
|
||||
);
|
||||
|
||||
@@ -63,7 +63,7 @@ if ( $timeout ) {
|
||||
}
|
||||
|
||||
ok(
|
||||
$waited >= 2 && $waited < 4,
|
||||
$waited >= 2 && int($waited) < 4,
|
||||
sprintf("--read-timeout waited %.1f seconds reading a file", $waited)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user