You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2013/04/26 15:26:16 UTC

[jira] [Updated] (TS-1853) make test on logstats can fail due to math rounding difference

     [ https://issues.apache.org/jira/browse/TS-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-1853:
------------------------------

    Fix Version/s: 3.3.3
         Assignee: Leif Hedstrom
    
> 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