Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id D3BF29FBE95 for ; Fri, 3 Aug 2007 16:22:46 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 61946-03-5 for ; Fri, 3 Aug 2007 16:22:30 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from titan.startnet.cz (unknown [82.113.63.73]) by postgresql.org (Postfix) with ESMTP id BB0929FBF33 for ; Fri, 3 Aug 2007 16:17:03 -0300 (ADT) Received: (qmail 30937 invoked from network); 3 Aug 2007 19:17:03 -0000 Received: from unknown (HELO ?192.168.1.105?) (miroslav.sulc@startnet.cz@194.213.212.117) by titan.local.startnet.cz with ESMTPA; 3 Aug 2007 19:17:03 -0000 Message-ID: <46B37F20.7080309@startnet.cz> Date: Fri, 03 Aug 2007 21:16:48 +0200 From: =?ISO-8859-2?Q?Miroslav_=A9ulc?= Organization: StartNet s.r.o. User-Agent: Thunderbird 2.0.0.5 (X11/20070722) MIME-Version: 1.0 CC: pgsql-jdbc@postgresql.org Subject: Re: Failing test on 8.2-506 References: <46B365F9.3050101@startnet.cz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.654 tagged_above=0 required=5 tests=AWL=-0.553, BAYES_40=-0.185, MISSING_HEADERS=1.292, RDNS_NONE=0.1 X-Spam-Level: X-Archive-Number: 200708/17 X-Sequence-Number: 17330 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: but was: >> [junit] junit.framework.ComparisonFailure: >> expected: but was: >> [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 --------------------------------------------------------------