Not quite a fault in our stars, but close.
On Sun, Jun 3, 2018 at 8:44 PM Ben Caradoc-Davies <b...@transient.nz> wrote:

> On 03/06/18 09:56, Ben Caradoc-Davies wrote:
> > On 03/06/18 09:33, moni...@boundlessgeo.com wrote:
> >> See
> >> <
> https://build.geoserver.org/job/geotools-master-online-postgis/626/display/redirect>
>
> > I kicked it and it failed again:
> > Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> > <<< FAILURE! - in
> > org.geotools.temporal.object.DefaultTemporalGeometricPrimitiveTest
> >
> testDistance(org.geotools.temporal.object.DefaultTemporalGeometricPrimitiveTest)
>
> >   Time elapsed: 0 sec  <<< FAILURE!
> > java.lang.AssertionError: null
> >      at org.junit.Assert.fail(Assert.java:86)
> >      at org.junit.Assert.assertTrue(Assert.java:41)
> >      at org.junit.Assert.assertFalse(Assert.java:64)
> >      at org.junit.Assert.assertFalse(Assert.java:74)
> >      at
> >
> org.geotools.temporal.object.DefaultTemporalGeometricPrimitiveTest.testDistance(DefaultTemporalGeometricPrimitiveTest.java:73)
>
> > Timezone rollover problem? Month zero is January. Server west of the
> > meridian? But why was this passing before?
>
> There is a logic error in the test! The test assumes that the duration
> from 25 July 1985 from 1 January 2000 (6734 days) is not the same as the
> duration from 1 January 2000 to today. But this happens. Once! I am just
> not sure why it seems to have happened one week early on 2 June 2018.
>
> $ date -u -d "6734 day 12:00 25 July 1981 UTC"
> Sat  1 Jan 12:00:00 UTC 2000
>
> $ date -u -d "6734 day 12:00 1 Jan 2000 UTC"
> Sat  9 Jun 12:00:00 UTC 2018
>
> Kind regards,
>
> --
> Ben Caradoc-Davies <b...@transient.nz>
> Director
> Transient Software Limited <https://transient.nz/>
> New Zealand
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
-- 
--
Jody Garnett
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to