Unit tests and ordering - Mailing list pgsql-jdbc

From John Lister
Subject Unit tests and ordering
Date
Msg-id 49EB6ABD.7020308@kickstone.com
Whole thread Raw
In response to Fast BigDecimal  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: Unit tests and ordering  (Craig Ringer <craig@postnewspapers.com.au>)
List 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 by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Fast BigDecimal
Next
From: Craig Ringer
Date:
Subject: Re: Unit tests and ordering