Re: JDBC test suite patch

From: Rene Pijlman <rene(at)lab(dot)applinet(dot)nl>
To: pgsql-jdbc(at)postgresql(dot)org
Cc: Liam Stewart <liams(at)redhat(dot)com>
Subject: Re: JDBC test suite patch
Date: 2001-10-06 21:48:25
Message-ID: atuurtgfmalgrafpp961cmcotvfgrji51h@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-patches

On Thu, 20 Sep 2001 16:24:45 -0400, you wrote:
> . failure in TimestampTest (testSetTimestamp) fixed. The failure is
>because testSetTimestamp was inserting a timestamp with hour 7 but
>checkTimeTest was expecting a timestamp with hour 8. AFAICS, there are
>no issues wrt daylight savings time and timestamps being pushed in and
>pulled out (but more explicit tests should be added in the future)
>
> . failure in TimeTest (testGetTime) fixed. Times to be inserted were
>interpreted in the localtime zone but checking was done with the
>assumption that the insertion was done in GMT.

Unfortunately, I'm still getting one failure:

[junit] Time: 2.716
[junit] There was 1 failure:
[junit] 1)
testGetTimestamp(org.postgresql.test.jdbc2.TimestampTest)junit.framework.AssertionFailedError
[junit] at
org.postgresql.test.jdbc2.TimestampTest.timestampTest(TimestampTest.java:112)
[junit] at
org.postgresql.test.jdbc2.TimestampTest.testGetTimestamp(TimestampTest.java:54)
[junit]
[junit] FAILURES!!!
[junit] Tests run: 43, Failures: 1, Errors: 0

I haven't looked into it yet. Will do later.

Regards,
René Pijlman <rene(at)lab(dot)applinet(dot)nl>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Elias Karakoulakis 2001-10-07 18:11:58 flames!
Previous Message Gunnar Rønning 2001-10-06 14:25:36 Re: Serialize

Browse pgsql-patches by date

  From Date Subject
Next Message Greg Sabino Mullane 2001-10-07 01:09:14 Showing index details with \d on psql
Previous Message Peter Eisentraut 2001-10-06 16:15:34 Re: Simplified Chinese translation file for nls support