Unit tests and ordering

Поиск
Список
Период
Сортировка
От John Lister
Тема Unit tests and ordering
Дата
Msg-id 49EB6ABD.7020308@kickstone.com
обсуждение исходный текст
Ответ на Fast BigDecimal  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Unit tests and ordering
Список pgsql-jdbc
Hi, i'm just running the unit tests against my database and came across
a couple of errors:

For example in the date tests, a number of dates are inserted and then
read back. In my setup this fails with the wrong values being returned.

This seems to be an ordering problem.. The dates are inserted and then
the test relies on them being returned in the same order they were
inserted. I'm fairly sure that this isn't guaranteed when using SQL,
however it looks like it probably worked before. I'm using server
version 8.3.5 and the latest cvs jdbc source.

Anyone else experienced this?




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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Fast BigDecimal
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Unit tests and ordering