Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-1853

make test on logstats can fail due to math rounding difference

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.3.4
    • Build
    • None

    Description

      When doing "make test" for logstats, it can differ slightly on some of the floating point calculations. E.g.

      159c159
      < Cache miss total             88        1,059          423.758          199.432
      ---
      > Cache miss total             88        1,059          423.758          199.431
      

      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.

      Attachments

        Activity

          People

            zwoop Leif Hedstrom
            zwoop Leif Hedstrom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: