We're updating the issue view to help you get more done. 

Intermittent failure of ImageWorkerTest.rescaleToBytesNoData

Description

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

1 2 3 4 5 6 7 8 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)

Environment

None

Status

Assignee

Ben Caradoc-Davies

Reporter

Ben Caradoc-Davies

Triage

Components

Fix versions

Affects versions

17.2
18-beta

Priority

Medium