Uploaded image for project: 'GeoTools'
  1. GEOT-5784

Intermittent failure of ImageWorkerTest.rescaleToBytesNoData

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 17.2, 18-beta
    • Fix Version/s: 17.2, 18-beta
    • Component/s: coverage
    • Labels:
      None

      Description

      Seen on Jenkins CI (ares) and locally in Maven and Eclipse. Can be reproduced running just this method in Eclipse:

      Tests run: 54, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.125 sec <<< FAILURE! - in org.geotools.image.ImageWorkerTest
      rescaleToBytesNoData(org.geotools.image.ImageWorkerTest)  Time elapsed: 0.044 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<255.0> but was:<254.0>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:494)
      	at org.junit.Assert.assertEquals(Assert.java:592)
      	at org.geotools.image.ImageWorkerTest.rescaleToBytesNoData(ImageWorkerTest.java:868)
      

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                bencaradocdavies Ben Caradoc-Davies
                Reporter:
                bencaradocdavies Ben Caradoc-Davies
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: