Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 51220 invoked from network); 19 May 2007 00:02:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 May 2007 00:02:21 -0000 Received: (qmail 27016 invoked by uid 500); 19 May 2007 00:02:27 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 26983 invoked by uid 500); 19 May 2007 00:02:27 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 26971 invoked by uid 99); 19 May 2007 00:02:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2007 17:02:26 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2007 17:02:20 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 3E6141A981A; Fri, 18 May 2007 17:01:59 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r539642 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ErrorCodeTest.java Date: Sat, 19 May 2007 00:01:59 -0000 To: derby-commits@db.apache.org From: kahatlen@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070519000159.3E6141A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: kahatlen Date: Fri May 18 17:01:58 2007 New Revision: 539642 URL: http://svn.apache.org/viewvc?view=rev&rev=539642 Log: DERBY-2647: .lang.ErrorCodeTest fails with 'Required Derby DataSource property {0} not set.' ResultSet returned by the test has only partially defined order. Using assertUnorderedResultSet() instead of assertFullResultSet() to solve the problem. Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ErrorCodeTest.java Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ErrorCodeTest.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ErrorCodeTest.java?view=diff&rev=539642&r1=539641&r2=539642 ============================================================================== --- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ErrorCodeTest.java (original) +++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ErrorCodeTest.java Fri May 18 17:01:58 2007 @@ -241,7 +241,7 @@ {"XSTB6","Cannot substitute a transaction table with another while one is already in use.","50000"}, {"XXXXX","Normal database session close.","40000"}}; - JDBC.assertFullResultSet(rs, expectedRows); + JDBC.assertUnorderedResultSet(rs, expectedRows); conn.rollback(); s.close(); }