[
https://issues.apache.org/jira/browse/TS-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leif Hedstrom resolved TS-1853.
-------------------------------
Resolution: Fixed
Changed by unifying all numbers to 2-digit precision. There was only one place
where it was 3, for no apparent reason.
> make test on logstats can fail due to math rounding difference
> --------------------------------------------------------------
>
> Key: TS-1853
> URL: https://issues.apache.org/jira/browse/TS-1853
> Project: Traffic Server
> Issue Type: Bug
> Components: Build
> Reporter: Leif Hedstrom
> Assignee: Leif Hedstrom
> Fix For: 3.3.3
>
>
> When doing "make test" for logstats, it can differ slightly on some of the
> floating point calculations. E.g.
> {code}
> 159c159
> < Cache miss total 88 1,059 423.758
> 199.432
> ---
> > Cache miss total 88 1,059 423.758
> > 199.431
> {code}
> One suggestion would be to allow for a few lines of differences, another is
> to round the produced text file (munge them) such that the likelihood of
> rounding discrepancies is small.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira