pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Miroslav Šulc <miroslav.sulc@startnet.cz>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Failing test on 8.2-506
Date: Fri, 03 Aug 2007 21:16:48 +0200
Message-ID: <46B37F20.7080309@startnet.cz> (raw)
In-Reply-To: <Pine.BSO.4.64.0708031447570.27582@leary.csoft.net>
References: <46B365F9.3050101@startnet.cz>
	<Pine.BSO.4.64.0708031447570.27582@leary.csoft.net>

Thanks, you are right, the database was not clean.

--
Miroslav Šulc



Kris Jurka napsal(a):
>
>
> On Fri, 3 Aug 2007, Miroslav Šulc wrote:
>
>> I just wanted to package jdbc driver 8.2-506 for gentoo linux distro 
>> but came across this bug in the tests:
>>
>>   [junit] Testcase: 
>> testTables(org.postgresql.test.jdbc2.DatabaseMetaDataTest):       FAILED
>>   [junit] expected:<test[metadata]> but was:<test[index]>
>>   [junit] junit.framework.ComparisonFailure: 
>> expected:<test[metadata]> but was:<test[index]>
>>   [junit]     at 
>> org.postgresql.test.jdbc2.DatabaseMetaDataTest.testTables(DatabaseMetaDataTest.java:78) 
>>
>>   [junit]
>
> Are you sure you're running on a clean database?  No part of the 
> driver or test suite does anything with a table called testindex.
>
> jurka@fred:~/pg/jdbc/postgresql-jdbc-8.2-506.src$ grep -r testindex * 
> | wc -l
> 0
>
> Kris Jurka

-- 
--
Miroslav Šulc
StartNet s.r.o.
--------------------------------------------------------------
Schodová 309/10, Praha 5, 150 00, Česká republika
--------------------------------------------------------------
ICQ: 60144073
web: www.startnet.cz, www.novavystavba.cz, wordgen.startnet.cz
--------------------------------------------------------------
mobil: +420 603 711 413
--------------------------------------------------------------




view thread (5+ messages)

Message-ID: <46B37F20.7080309@startnet.cz>
Permalink:  ../46B37F20.7080309@startnet.cz/
Also on:    postgresql.org/message-id/46B37F20.7080309@startnet.cz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: miroslav.sulc@startnet.cz
  Subject: Re: Failing test on 8.2-506
  In-Reply-To: <46B37F20.7080309@startnet.cz>
  References: <46B365F9.3050101@startnet.cz> <Pine.BSO.4.64.0708031447570.27582@leary.csoft.net> <46B37F20.7080309@startnet.cz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox