LabelingTest.testLineLabelingSharpTurn2 fails on Oracle JDK locally, on Travis CI, and on Jenkins, on master, 19.x, and 18.x, since :
The test passes on OpenJDK.
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-04T07:39:06+12:00)
Maven home: /home/ben/java/maven
Java version: 1.8.0_152, vendor: Oracle Corporation
Java home: /home/ben/java/jdk1.8.0_152/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "4.16.0-1-amd64", arch: "amd64", family: "unix"
Nasty font rendering difference. I am going to increase the tolerance to 300 pixels, which is about 0.3% for a 300x300 image.
Fixed on master, 19.x, and 18.x by setting the tolerance to 300 pixels. (The test image is 300x300.)