Brad Hards ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A32a7094c-2716-498f-8290-e6e7cdd9ca74
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYTA3MDA2NDAxNzYxNDE5MTg0N2E2Y2M3NTQwMjNlNTYiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-9870?atlOrigin=eyJpIjoiYTA3MDA2NDAxNzYxNDE5MTg0N2E2Y2M3NTQwMjNlNTYiLCJwIjoiaiJ9
 ) GEOS-9870 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9870?atlOrigin=eyJpIjoiYTA3MDA2NDAxNzYxNDE5MTg0N2E2Y2M3NTQwMjNlNTYiLCJwIjoiaiJ9
 ) Failure in WMS GetMapIntegrationTest with OpenJDK 11 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9870?atlOrigin=eyJpIjoiYTA3MDA2NDAxNzYxNDE5MTg0N2E2Y2M3NTQwMjNlNTYiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.19-RC Assignee: Brad Hards ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A32a7094c-2716-498f-8290-e6e7cdd9ca74
 ) Attachments: image.png Components: WMS Created: 23/Jan/21 3:57 AM 
Environment:

Kubuntu 20.10
javac 11.0.9.1
mvn build or Netbeans

Priority: Medium Reporter: Brad Hards ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A32a7094c-2716-498f-8290-e6e7cdd9ca74
 )

A plain build from the main git branch consistently results in:
```
[INFO] Running org.geoserver.wms.wms_1_1_1.GetMapIntegrationTest
[ERROR] Tests run: 73, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.617 
s <<< FAILURE! - in org.geoserver.wms.wms_1_1_1.GetMapIntegrationTest
[ERROR] 
testLayoutTranslucent(org.geoserver.wms.wms_1_1_1.GetMapIntegrationTest) Time 
elapsed: 0.014 s <<< FAILURE!
java.lang.AssertionError
at 
org.geoserver.wms.wms_1_1_1.GetMapIntegrationTest.testLayoutTranslucent(GetMapIntegrationTest.java:494)
```

The test is:
```
assertTrue(getPixelColor(image, 52, 221).equals(Color.BLACK)

getPixelColor(image, 52, 222).equals(Color.BLACK));
```

The failure is is similar to GEOS-6482 ( 
https://osgeo-org.atlassian.net/browse/GEOS-6482 ) Closed ( 
https://osgeo-org.atlassian.net/browse/GEOS-6482 ) but happens on OpenJDK 11. 
GEOS-6482 ( https://osgeo-org.atlassian.net/browse/GEOS-6482 ) Closed resulted 
in adding the or case to the test above.

That test is trying to hit the horizontal bar between the km and miles part of 
the scale box. In my case, it seems like I'd need it to be (52, 219) or (52, 
218). See attached rendered image.

I think a cleaner fix would be to try to hit the vertical bar on the left side 
(conceptually zero on the scale axis).

( 
https://osgeo-org.atlassian.net/browse/GEOS-9870#add-comment?atlOrigin=eyJpIjoiYTA3MDA2NDAxNzYxNDE5MTg0N2E2Y2M3NTQwMjNlNTYiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-9870#add-comment?atlOrigin=eyJpIjoiYTA3MDA2NDAxNzYxNDE5MTg0N2E2Y2M3NTQwMjNlNTYiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100154- 
sha1:21a40b5 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to