Re: Problems with infinity
От | Oliver Siegmar |
---|---|
Тема | Re: Problems with infinity |
Дата | |
Msg-id | 200502041012.03439.o.siegmar@vitrado.de обсуждение исходный текст |
Ответ на | Re: Problems with infinity (Kris Jurka <books@ejurka.com>) |
Ответы |
Re: Problems with infinity
|
Список | 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
В списке pgsql-jdbc по дате отправления: