db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6342) failure in testConstraintDrops(org.apache.derbyTesting.functionTests.lang.ConglomerateSharingTest)junit.framework.AssertionFailedError: Error 23505 should have been caused by index/constraint...
Date Mon, 14 Jul 2014 10:00:20 GMT

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

ASF subversion and git services commented on DERBY-6342:
--------------------------------------------------------

Commit 1610373 from [~knutanders] in branch 'code/trunk'
[ https://svn.apache.org/r1610373 ]

DERBY-6342: failure in ConglomerateSharingTest.testConstraintDrops

Accept different errors from statements that violate multiple
constraints, since it's not deterministic which constraint is checked
first.

> failure in testConstraintDrops(org.apache.derbyTesting.functionTests.lang.ConglomerateSharingTest)junit.framework.AssertionFailedError:
Error 23505 should have been caused by index/constraint...
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6342
>                 URL: https://issues.apache.org/jira/browse/DERBY-6342
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.10.2.0
>         Environment: weme6.2 Windows Server 2008 - x86 - 6.1 build 7601 Service Pack
1
> Windows machine
>            Reporter: Mamta A. Satoor
>            Assignee: Knut Anders Hatlen
>         Attachments: d6342-1a.diff
>
>
> Don't think this failure has been reported before.
> The url for failure is http://people.apache.org/~myrnavl/derby_test_results/v10_10/windows/testlog/weme6.2/1520721-suites.All_diff.txt
> 1) testConstraintDrops(org.apache.derbyTesting.functionTests.tests.lang.ConglomerateSharingTest)junit.framework.AssertionFailedError:
Error 23505 should have been caused by index/constraint 'DROPC_UIX2' but 'DROPC_UIX2' did
not appear in the following error message: "The statement was aborted because it would have
caused a duplicate key value in a unique or primary key constraint or unique index identified
by 'DROPC_UC1' defined on 'DROPC_T2'."
> 	at org.apache.derbyTesting.functionTests.tests.lang.ConglomerateSharingTest.checkStatementError(ConglomerateSharingTest.java:762)
> 	at org.apache.derbyTesting.functionTests.tests.lang.ConglomerateSharingTest.testConstraintDrops(ConglomerateSharingTest.java:272)
> 	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:195)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:442)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:459)
> 	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)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)



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

Mime
View raw message