mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-21 11:30:24 +00:00
t/pt-ioprofile/pt-ioprofile.t: Be slightly laxer about fractional seconds in a test to avoid white smoke
This commit is contained in:
@@ -50,8 +50,8 @@ like(
|
|||||||
# If the system is really slow, it may take a second to process the files
|
# If the system is really slow, it may take a second to process the files
|
||||||
# and then clean up all the temp stuff. We'll give it a few seconds benefit of the doubt.
|
# and then clean up all the temp stuff. We'll give it a few seconds benefit of the doubt.
|
||||||
cmp_ok(
|
cmp_ok(
|
||||||
$t1 - $t0,
|
int($t1 - $t0),
|
||||||
'<',
|
'<=',
|
||||||
6,
|
6,
|
||||||
"Runs for --run-time, more or less"
|
"Runs for --run-time, more or less"
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user