db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r1615821 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DatabaseMetaDataTest.java
Date Mon, 04 Aug 2014 22:57:32 GMT
Author: dag
Date: Mon Aug  4 22:57:32 2014
New Revision: 1615821

URL: http://svn.apache.org/r1615821
Log:
DERBY-6623 DatabaseMetaDataTest fails intermittently

Another instance of the test neglecting to consider that the rows may
legimimately come back in another order.  Switched to using
*assertFullUnorderedResultSet* instead of *assertFullResultSet*.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DatabaseMetaDataTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DatabaseMetaDataTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DatabaseMetaDataTest.java?rev=1615821&r1=1615820&r2=1615821&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DatabaseMetaDataTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DatabaseMetaDataTest.java
Mon Aug  4 22:57:32 2014
@@ -4328,12 +4328,12 @@ public class DatabaseMetaDataTest extend
         assertFullResultSet(rs, expRS2, true);
         
         rs = getImportedKeys(null, schema, "REFTAB");
-        assertFullResultSet(rs, expRS1, true);
+        assertFullUnorderedResultSet(rs, expRS1, true);
         rs = getImportedKeys(null, schema, "REFTAB2");
         assertFullResultSet(rs, expRS2, true);
 
         rs = getImportedKeys(null, null, "REFTAB");
-        assertFullResultSet(rs, expRS1, true);
+        assertFullUnorderedResultSet(rs, expRS1, true);
 
         rs = getImportedKeys(null, "", "REFTAB");
         JDBC.assertEmpty(rs[0]);



Mime
View raw message