Skip site navigation (1) Skip section navigation (2)

Re: Status of JDBC test suite?

From: Barry Lind <barry(at)xythos(dot)com>
To: Liam Stewart <liams(at)redhat(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Status of JDBC test suite?
Date: 2001-08-29 17:58:11
Message-ID: 3B8D2D33.303@xythos.com (view raw or flat)
Thread:
Lists: 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
> 
> 



In response to

pgsql-jdbc by date

Next:From: Anders BengtssonDate: 2001-08-29 18:08:58
Subject: Re: Status of JDBC test suite?
Previous:From: Liam StewartDate: 2001-08-29 17:34:51
Subject: Re: Status of JDBC test suite?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group