Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 1484 invoked from network); 7 Nov 2006 04:28:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Nov 2006 04:28:59 -0000 Received: (qmail 32880 invoked by uid 500); 7 Nov 2006 04:29:09 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 32833 invoked by uid 500); 7 Nov 2006 04:29:09 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 32824 invoked by uid 99); 7 Nov 2006 04:29:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 20:29:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 20:28:57 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8BC8C7142F7 for ; Mon, 6 Nov 2006 20:28:37 -0800 (PST) Message-ID: <10155853.1162873717569.JavaMail.jira@brutus> Date: Mon, 6 Nov 2006 20:28:37 -0800 (PST) From: "Daniel John Debrunner (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-2048) LangScripts JUnit test fails in views.sql In-Reply-To: <1985968.1162851158956.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DERBY-2048?page=comments#action_12447624 ] Daniel John Debrunner commented on DERBY-2048: ---------------------------------------------- CleanDatabaseTestSetup cleans up more than user tables, it drops procedures, functions, views, synonyms and schemas. Please enhance it though to drop any remaining objects or clean up the database even more. :-) > LangScripts JUnit test fails in views.sql > ----------------------------------------- > > Key: DERBY-2048 > URL: http://issues.apache.org/jira/browse/DERBY-2048 > Project: Derby > Issue Type: Bug > Components: Test > Affects Versions: 10.3.0.0 > Environment: Windows XP > Reporter: Yip Ng > > LangScripts JUnit test fails in views.sql > There was 1 failure: > 1) views(org.apache.derbyTesting.functionTests.tests.lang.LangScripts )junit.fram > ework.ComparisonFailure: Output at line 104 expected:<...T1' because VIEW 'SV[1]' is dependent on th...> but was:<...T1' because VIEW 'SV[2]' is dependent on th...> > at org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:100) > at org.apache.derbyTesting.functionTests.util.ScriptTestCase.runTest(ScriptTestCase.java:117) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:76) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > at junit.extensions.TestSetup.run(TestSetup.java:25) > FAILURES!!! > Tests run: 2016, Failures: 1, Errors: 0 > Some observations: > If org.apache.derbyTesting.functionTests.tests.lang.LangScripts is used to run views.sql as a single test, then it ran smoothly without a problem. > . > Time: 7.109 > OK (1 test) > But if views.sql is run as part of a suite, then the ordering diff occurs. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira