[ 
https://issues.apache.org/jira/browse/TS-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13642967#comment-13642967
 ] 

ASF subversion and git services commented on TS-1853:
-----------------------------------------------------

Commit a8981a71ab369bbe603923a52161c8eff7249c3a in branch refs/heads/master 
from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=a8981a7 ]

TS-1853 Fix formatting in logstats to be consistenly 2 decimals

                
> 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

Reply via email to