db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
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 GMT
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();
     }



Mime
View raw message