db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6623) DatabaseMetaDataTest fails intermittently
Date Mon, 04 Aug 2014 22:31:14 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14085417#comment-14085417
] 

Dag H. Wanvik commented on DERBY-6623:
--------------------------------------

Reopening this, I saw this error on http://download.java.net/javadesktop/derby/request_5594301/javadb-task-3907241.html
{code}
junit.framework.AssertionFailedError: Column value mismatch @ column 'FK_NAME', row 3:
    Expected: >FKEY3<
    Found:    >FKEY2<

    PKTABLE_CAT,PKTABLE_SCHEM,PKTABLE_NAME,PKCOLUMN_NAME,FKTABLE_CAT,FKTABLE_SCHEM,FKTABLE_NAME,FKCOLUMN_NAME,KEY_SEQ,UPDATE_RULE,DELETE_RULE,FK_NAME,PK_NAME,DEFERRABILITY
    ----------- ------------- ------------ ------------- ----------- ------------- ------------
------------- ------- ----------- ----------- ------- ------- -------------
   [, DMDT, KT1, VC10, , DMDT, REFTAB, VC10, 1, 3, 3, FKEY1, PRIMKEY, 7]
   [, DMDT, KT1, I, , DMDT, REFTAB, I, 2, 3, 3, FKEY1, PRIMKEY, 7]
   [, DMDT, KT1, C30, , DMDT, REFTAB, C30, 1, 3, 3, FKEY2, UNIQUEKEY, 7]
   [, DMDT, KT1, C30, , DMDT, REFTAB, C30, 1, 3, 3, FKEY3, UNIQUEKEY, 7]
   [, DMDT, KT1, S, , DMDT, REFTAB, S2, 2, 3, 3, FKEY2, UNIQUEKEY, 7]
   [, DMDT, KT1, S, , DMDT, REFTAB, S, 2, 3, 3, FKEY3, UNIQUEKEY, 7]
   [, DMDT, REFTAB, DPRIM, , DMDT, REFTAB, DFOR, 1, 3, 3, FKEYSELF, PKEY_REFTAB, 7]

	at org.apache.derbyTesting.junit.BaseTestCase.newAssertionFailedError(BaseTestCase.java:1164)
	at org.apache.derbyTesting.junit.JDBC.addRsToReport(JDBC.java:1878)
	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1377)
	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1275)
	at org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.java:1137)
	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:1048)
	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:1005)
	at org.apache.derbyTesting.functionTests.tests.jdbcapi.DatabaseMetaDataTest.assertFullResultSet(DatabaseMetaDataTest.java:4111)
	at org.apache.derbyTesting.functionTests.tests.jdbcapi.DatabaseMetaDataTest.testGetXXportedKeys(DatabaseMetaDataTest.java:4331)
{code}

> DatabaseMetaDataTest fails intermittently
> -----------------------------------------
>
>                 Key: DERBY-6623
>                 URL: https://issues.apache.org/jira/browse/DERBY-6623
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>            Reporter: Dag H. Wanvik
>            Assignee: Dag H. Wanvik
>             Fix For: 10.11.1.0
>
>         Attachments: derby-6623-2.diff, derby-6623-2a.diff, derby-6623-2a.status, derby-6623.diff
>
>
> Saw this on the trunk [[http://download.java.net/javadesktop/derby/request_5592737/javadb-task-3883745.html][regression
tests]]:
> testGetXXportedKeys:
> {code}
> junit.framework.AssertionFailedError: Column value mismatch @ column 'FK_NAME', row 3:
>     Expected: >FKEY3<
>     Found:    >FKEY2<
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1303)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1215)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.java:1102)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:1025)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:982)
> 	at org.apache.derbyTesting.functionTests.tests.jdbcapi.DatabaseMetaDataTest.assertFullResultSet(DatabaseMetaDataTest.java:3930)
> 	at org.apache.derbyTesting.functionTests.tests.jdbcapi.DatabaseMetaDataTest.testGetXXportedKeys(DatabaseMetaDataTest.java:4117)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:440)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:457)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message