Thanks, Ian, your fix worked for all the failures I was seeing.
I now see one new failure for the PS version of PostgisDateOnlineTest;
the non-PS version works fine. Tested in Maven with
{open,oracle}jdk{7,8} against postgresql 9.4.2-1 amd64 on debian/sid.
Also confirmed with openjdk7 in Eclipse.
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.256
sec <<< FAILURE! - in org.geotools.data.postgis.ps.PostgisDateOnlineTest
testFiltersByDate(org.geotools.data.postgis.ps.PostgisDateOnlineTest)
Time elapsed: 0.112 sec <<< FAILURE!
junit.framework.AssertionFailedError: wrong number of records for
GMT+14:00 expected:<2> but was:<1>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
at junit.framework.TestCase.assertEquals(TestCase.java:401)
at
org.geotools.jdbc.JDBCDateOnlineTest.testFiltersByDate(JDBCDateOnlineTest.java:63)
Kind regards,
Ben.
On 02/06/15 07:52, Ian Turton wrote:
> OK Just Oracle failing now - I'll need to spin up an oracle vm (or just
> install it on my laptop) tomorrow to test it,
>
> Ian
>
> On Mon, Jun 1, 2015 at 12:22 PM Ian Turton <[email protected]> wrote:
>
>> OK I'll push them this afternoon
>>
>> Ian
>>
>> On Mon, 1 Jun 2015 11:15 am Andrea Aime <[email protected]>
>> wrote:
>>
>>> Hi Ian,
>>> those are all related to a mix of jdbc driver and postgres version
>>> issues, don't worry,
>>> you haven't introduced them
>>>
>>> Cheers
>>> Andrea
>>>
>>>
>>> On Mon, Jun 1, 2015 at 12:12 PM, Ian Turton <[email protected]> wrote:
>>>
>>>> OK I think I've fixed the bug I introduced - I wasn't recreating the
>>>> dates table in the default timezone after my test.
>>>>
>>>> I'm now left with 3 errors else where! These might be related to
>>>> upgrading my jdbc driver to avoid LOB failures? Has anyone seen similar?
>>>>
>>>> PostgreSQL 9.4.2 on x86_64-unknown-linux-gnu, compiled by gcc (Ubuntu
>>>> 4.8.2-19ubuntu1) 4.8.2, 64-bit
>>>> --------------
>>>> POSTGIS="2.1.7 r13414" GEOS="3.4.2-CAPI-1.8.2 r3921" PROJ="Rel. 4.8.0,
>>>> 6 March 2012" GDAL="GDAL 1.10.1, released 2013/08/26" LIBXML="2.9.1"
>>>> LIBJSON="UNKNOWN" TOPOLOGY RASTER
>>>>
>>>> Failed tests:
>>>>
>>>> PostGISFunctionOnlineTest>OnlineTestCase.run:123->JDBCFunctionOnlineTest.testStrEndsWithOtherProperty:101->JDBCFunctionOnlineTest.assertFeatures:319
>>>> Expected to find 3 features, but was 1
>>>>
>>>> Tests in error:
>>>>
>>>> PostgisNGDataStoreFactoryOnlineTest>OnlineTestCase.run:123->testCreateConnection:53->checkCreateConnection:81
>>>> » Runtime
>>>>
>>>> PostgisNGDataStoreFactoryOnlineTest>OnlineTestCase.run:123->testCreateConnectionWithOldId:58->checkCreateConnection:81
>>>> » Runtime
--
Ben Caradoc-Davies <[email protected]>
Director
Transient Software Limited <http://transient.nz/>
New Zealand
------------------------------------------------------------------------------
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel