Re: Status of JDBC test suite?

Поиск
Список
Период
Сортировка
От Barry Lind
Тема Re: Status of JDBC test suite?
Дата
Msg-id 3B8D2D33.303@xythos.com
обсуждение исходный текст
Ответ на Status of JDBC test suite?  (Rene Pijlman <rpijlman@wanadoo.nl>)
Список 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 по дате отправления:

Предыдущее
От: Liam Stewart
Дата:
Сообщение: Re: Status of JDBC test suite?
Следующее
От: Anders Bengtsson
Дата:
Сообщение: Re: Status of JDBC test suite?