Re: Failing test in org.postgresql.test.jdbc2.DateTest

Поиск
Список
Период
Сортировка
От Mike Fowler
Тема Re: Failing test in org.postgresql.test.jdbc2.DateTest
Дата
Msg-id 4D655262.5060804@mlfowler.com
обсуждение исходный текст
Ответ на Failing test in org.postgresql.test.jdbc2.DateTest  (Mike Fowler <mike@mlfowler.com>)
Ответы Re: Failing test in org.postgresql.test.jdbc2.DateTest
Список pgsql-jdbc
On 23/02/11 16:42, I wrote:
>
> I've attached a patch to do just that and it's been tested with the
> following JDKs:
>
> 1.4.2_19
> 1.5.0_22
> 1.6.0_21
>
> Regards,
>
Oops, hold the phone. The test still broke on 1.6 but I didn't notice
the error as the "build succeeded". The year value 23456 causes the test
to fail as the maximum year in java.sql.date is 9999. However, when I
change the year to 3456 the test fails:

[junit] expected:<3456-01-01> but was:<456-01-01>

I'll supply a patch that fixes this once I figure out what's up...

Regards,

--
Mike Fowler
Registered Linux user: 379787


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Mike Fowler
Дата:
Сообщение: Failing test in org.postgresql.test.jdbc2.DateTest
Следующее
От: Lukas Eder
Дата:
Сообщение: Re: UDT arrays