From: | Oliver Siegmar <o(dot)siegmar(at)vitrado(dot)de> |
---|---|
To: | Kris Jurka <books(at)ejurka(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Problems with infinity |
Date: | 2005-02-04 09:12:03 |
Message-ID: | 200502041012.03439.o.siegmar@vitrado.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
The last weeks were rather busy, so I couldn't do any tests...but I tried
today (with the current CVS version).
To track down the problem (infinity in another timezone) I changed the
timezone of my PgSQL server from 'CET' to 'EST'. Even without the
infinity-patch applied I get a test-exception:
runtest:
[junit] Testsuite: org.postgresql.test.jdbc2.Jdbc2TestSuite
[junit] Tests run: 180, Failures: 2, Errors: 0, Time elapsed: 12.149 sec
[junit] Testcase:
testGetTimestampWTZ(org.postgresql.test.jdbc2.TimestampTest): FAILED
[junit] expected:<-627872399900> but was:<-627847199900>
[junit] junit.framework.AssertionFailedError: expected:<-627872399900> but
was:<-627847199900>
[junit] at
org.postgresql.test.jdbc2.TimestampTest.timestampTestWTZ(TimestampTest.java:306)
[junit] at
org.postgresql.test.jdbc2.TimestampTest.testGetTimestampWTZ(TimestampTest.java:78)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] Testcase:
testSetTimestampWOTZ(org.postgresql.test.jdbc2.TimestampTest): FAILED
[junit] null
[junit] junit.framework.AssertionFailedError
[junit] at
org.postgresql.test.jdbc2.TimestampTest.timestampTestWOTZ(TimestampTest.java:367)
[junit] at
org.postgresql.test.jdbc2.TimestampTest.testSetTimestampWOTZ(TimestampTest.java:259)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] Test org.postgresql.test.jdbc2.Jdbc2TestSuite FAILED
[junit] Testsuite: org.postgresql.test.jdbc2.optional.OptionalTestSuite
[junit] Tests run: 38, Failures: 0, Errors: 0, Time elapsed: 1.561 sec
[junit] Testsuite: org.postgresql.test.jdbc3.Jdbc3TestSuite
[junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 0.436 sec
This needs to be fixed before I can track down the infinity problem.
Greets
Oliver
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2005-02-04 09:27:21 | Re: Problems with infinity |
Previous Message | Kris Jurka | 2005-02-04 08:19:52 | Re: [SPAM] - Re: [SPAM] - Re: JDBC HighLoad - Found word(s) |