Skip to content

Commit

Permalink
[GEOT-7290] relax test on aarch64 due to differences in FP calcs
Browse files Browse the repository at this point in the history
  • Loading branch information
jodygarnett committed Jan 5, 2023
1 parent 3905824 commit 3615673
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,12 @@ public void testReprojectGoogleMercatorLargerThanWorld() throws Exception {
File reference =
new File(
"src/test/resources/org/geotools/renderer/lite/gridcoverage2d/googleMercatorLargerThanWorld.png");
ImageAssert.assertEquals(reference, image, 0);
int threshold = 0;
if ("aarch64".equals(System.getProperty("os.arch"))) {
// Due to differences in FP architecture different visual near the poles (GEOT-7290)
threshold = 305;
}
ImageAssert.assertEquals(reference, image, threshold);
}

@Test
Expand Down

0 comments on commit 3615673

Please sign in to comment.