t/pt-query-digest/read_timeout.t: Disregard the fractional part of $waited

This commit is contained in:
Brian Fraser fraserb@gmail.com
2012-07-15 20:00:34 -03:00
parent 0af747e4f9
commit edad060718

View File

@@ -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)
);