Re: Status of JDBC test suite? - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: Status of JDBC test suite?
Date
Msg-id 3B8D2D33.303@xythos.com
Whole thread Raw
In response to Status of JDBC test suite?  (Rene Pijlman <rpijlman@wanadoo.nl>)
List pgsql-jdbc
Yes I have seen this behavior as well (first run has many failures, but
later ones succeed).  One reason that I noticed had to do with test
setup code.  Many of the tests do the following:

drop table foobar;
create table foobar (...);


The first time this is run on a clean database the drop table fails
because the table does not exist.  The next time this is run it succeds
because the table now exists.

The behavior of the test harness seems to be that it keeps running the
same set of tests over until it gets the same number of failures in two
consecutive runs, but I could be wrong about that.

thanks,
--Barry


Liam Stewart wrote:
> On Sun, Aug 26, 2001 at 09:14:49PM +0200, Rene Pijlman wrote:
>
>>Before I dive into this and fix the test suite, I just wanted to
>>check if someone else has already looked into this. Any
>>information about the status of the test suite?
>>
>
> Not sure if it's the same thing, but I've noticed that often, the first
> time the test harness runs a particular test bucket, most or all of the
> tests fail. The second and third passes return work properly (insofar as
> there's support in the JDBC driver/PostgreSQL). I haven't had time to
> look into it yet.
>
> Liam
>
>



pgsql-jdbc by date:

Previous
From: Liam Stewart
Date:
Subject: Re: Status of JDBC test suite?
Next
From: Anders Bengtsson
Date:
Subject: Re: Status of JDBC test suite?