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?:


    @Test
    public void testDistance() {
        TemporalGeometricPrimitive other;

        // calcul Distance with instant objects
        cal.set(2000, 0, 1);
        Position position = new DefaultPosition(cal.getTime());
        other = new DefaultInstant(position);
        Duration result = temporalGeomericPrimitive1.distance(other);

assertFalse(temporalGeomericPrimitive2.distance(other).equals(result));


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

Reply via email to