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 2010/07/17 23:54:49 UTC

[jira] Commented: (DERBY-3258) 'Unexpected row count: expected:<0> but was:<3>' in testReleaseCompileLocks

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

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

I just saw this on trunk on OpenSolaris svn_142, in the variant similar to what Myrna did, but mine failed on the assert on line 146 rather than on line 120. It appeared when I ran the test in Knut's parallel tester using 6 threads on my dual core laptop (Lenovo T61p, 4Gb ram).
When running th test standalone I do not see the error.

junit.framework.AssertionFailedError: Unexpected row count: expected:<0> but was:<1>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:280)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:198)
at org.apache.derbyTesting.junit.JDBC.assertDrainResults(JDBC.java:674)
at org.apache.derbyTesting.junit.JDBC.assertEmpty(JDBC.java:526)
at org.apache.derbyTesting.functionTests.tests.lang.ReleaseCompileLocksTest.testReleaseCompileLocks(ReleaseCompileLocksTest.java:146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
:


> 'Unexpected row count: expected:<0> but was:<3>' in testReleaseCompileLocks
> ---------------------------------------------------------------------------
>
>                 Key: DERBY-3258
>                 URL: https://issues.apache.org/jira/browse/DERBY-3258
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.4.1.3
>         Environment: OS: Solaris Nevada snv_27a X86 64 bits - SunOS 5.11 snv_27
> VJM: Sun Microsystems Inc. 1.6.0-b105
>            Reporter: Ole Solberg
>            Priority: Minor
>
> Seen in http://dbtg.thresher.com/derby/test/trunk16/jvmAll/testing/Limited/testSummary-601462.html : JDK16Jvm1.6SunOS-5.11 i86pc-i386.
> There was 1 failure:
> 1) testReleaseCompileLocks(org.apache.derbyTesting.functionTests.tests.lang.ReleaseCompileLocksTest)junit.framework.AssertionFailedError: Unexpected row count: expected:<0> but was:<3>
> 	at org.apache.derbyTesting.junit.JDBC.assertDrainResults(JDBC.java:596)
> 	at org.apache.derbyTesting.junit.JDBC.assertEmpty(JDBC.java:490)
> 	at org.apache.derbyTesting.functionTests.tests.lang.ReleaseCompileLocksTest.testReleaseCompileLocks(ReleaseCompileLocksTest.java:146)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:95)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:23)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.