[ 
https://issues.apache.org/jira/browse/DERBY-6146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kathey Marsden updated DERBY-6146:
----------------------------------

    Attachment: derby-6146_diff.txt

I found that indeed if I commented out the sleep that the test failed as 
described in this issue.  I changed the wait to wait for two rows to appear in 
the lock table which is what we see when the test passes. Please review.
                
> nightly regression test failure: 
> testMultipleLastKeyWaitsInMaxScan(org.apache.derbyTesting.functionTests.tests.store.IndexSplitDeadlockTest)junit.framework.AssertionFailedError:
>  Column value mismatch @ column '1',
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6146
>                 URL: https://issues.apache.org/jira/browse/DERBY-6146
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.8.3.1, 10.9.2.2
>         Environment: windows, ibm16
>            Reporter: Mike Matrigali
>            Assignee: Kathey Marsden
>         Attachments: derby-6146_diff.txt
>
>
> http://people.apache.org/~myrnavl/derby_test_results/v10_8/windows/testlog/ibm16/1461387-suites.All_diff.txt
> 1) 
> testMultipleLastKeyWaitsInMaxScan(org.apache.derbyTesting.functionTests.tests.store.IndexSplitDeadlockTest)junit.framework.AssertionFailedError:
>  Column value mismatch @ column '1', row 1:
>     Expected: >4<
>     Found:    >3<
>       at 
> org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1213)
>       at 
> org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1125)
>       at 
> org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.java:1012)
>       at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:935)
>       at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:892)
>       at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:850)
>       at 
> org.apache.derbyTesting.junit.JDBC.assertSingleValueResultSet(JDBC.java:835)
>       at 
> org.apache.derbyTesting.functionTests.tests.store.IndexSplitDeadlockTest.testMultipleLastKeyWaitsInMaxScan(IndexSplitDeadlockTest.java:657)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:110)
>       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)
>       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)
> FAILURES!!!
> Tests run: 15197,  Failures: 1,  Errors: 0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to