You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Dag H. Wanvik (JIRA)" <ji...@apache.org> on 2014/08/27 15:08:58 UTC

[jira] [Comment Edited] (DERBY-6628) Intermittent error in TriggerGeneralTest

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

Dag H. Wanvik edited comment on DERBY-6628 at 8/27/14 1:08 PM:
---------------------------------------------------------------

The expected set of locks is:
{code}
{"ROW", "X", "PARENT"},
{"TABLE", "IX", "PARENT"},
{"ROW", "X", "T1"},
{"TABLE", "IX", "T1"}
{code}
so the locks on SYSSTATEMENTS are the extraneous ones, so it would seem (re)compilation locks are lingering.


was (Author: dagw):
The expected set of locks is:
{code}
{"ROW", "X", "PARENT"},
{"TABLE", "IX", "PARENT"},
{"ROW", "X", "T1"},
{"TABLE", "IX", "T1"}
{code}
so the locks on SYSSTATEMENTS are the extraneous ones.

> Intermittent error in TriggerGeneralTest
> ----------------------------------------
>
>                 Key: DERBY-6628
>                 URL: https://issues.apache.org/jira/browse/DERBY-6628
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>            Reporter: Dag H. Wanvik
>         Attachments: derby-6628-more-diagnostics.diff, derby-6628.diff
>
>
> See in nightly regression test:
> http://download.java.net/javadesktop/derby/request_5592869/javadb-task-3886181.html
> where the relevant part of stacktrace is as follows:
> {code}
> junit.framework.AssertionFailedError: Column value mismatch @ column 'TABLENAME', row 3:
>     Expected: >T1<
>     Found:    >SYSCHECKS<
> 	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.lang.TriggerGeneralTest.testTriggersInGeneral(TriggerGeneralTest.java:874)
> 	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)