From 97e64376a3e5d60a6cd23dcfca0e5844e7c3bbba Mon Sep 17 00:00:00 2001 From: Tara Drwenski Date: Thu, 18 Jan 2024 11:09:05 -0700 Subject: [PATCH] Update test nearlyEquals tolerance --- .../server/ncss/controller/grid/GridCoverageSubsettingTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tds/src/test/java/thredds/server/ncss/controller/grid/GridCoverageSubsettingTest.java b/tds/src/test/java/thredds/server/ncss/controller/grid/GridCoverageSubsettingTest.java index eb095757b3..0e0039f462 100644 --- a/tds/src/test/java/thredds/server/ncss/controller/grid/GridCoverageSubsettingTest.java +++ b/tds/src/test/java/thredds/server/ncss/controller/grid/GridCoverageSubsettingTest.java @@ -188,6 +188,6 @@ public void shouldSubsetGrid() throws Exception { v = nf.getRootGroup().findVariableLocal(vars); assertArrayEquals(expect.shape, v.getShape()); - assertThat(expect.rect.nearlyEquals(prect)).isTrue(); + assertThat(expect.rect.nearlyEquals(prect, 1e-3)).isTrue(); } }