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

Myrna van Lunteren updated DERBY-6437:
--------------------------------------

    Attachment: DERBY-6437.diff1

This patch changes the setting of derby.locks.waitTimeout for most tests - 
including the testLockingWithCommit and testLockingWithRollback to 500, but 
pulls out the testLocking testcase and gives it the same 
derby.locks.waitTimeout as before.

With this arrangement the tests run in similar timeframes as before on my 
system, but I have hopes it will diminish the instability of the 
testLockingWithCommit and testLockingWithRollback.

A review would be appreciated, but I intend to commit at the end of my day to 
ensure a couple of nightly runs to see if it did make an improvement.

> ConstraintCharachteristicsTest testLockingWithRollback or 
> testLockingWithCommit failing on trunk with AssertionFailedError - isolation 
> levels ...
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6437
>                 URL: https://issues.apache.org/jira/browse/DERBY-6437
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.11.0.0
>            Reporter: Mamta A. Satoor
>         Attachments: DERBY-6437.diff1
>
>
> Following failure on junit test runs on trunk(revision 1551810) with IBM jdk 
> 1.7. Didn't find it logged in jira so might be a new failure
> testLockingWithRollback(org.apache.derbyTesting.functionTests.tests.lang.ConstraintCharacteristicsTest)junit.framework.AssertionFailedError:
>  isolation levels: 4 2
> 1) 
> testLockingWithRollback(org.apache.derbyTesting.functionTests.tests.lang.ConstraintCharacteristicsTest)junit.framework.AssertionFailedError:
>  isolation levels: 4 2
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.ConstraintCharacteristicsTest.executeThreads(ConstraintCharacteristicsTest.java:1329)
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.ConstraintCharacteristicsTest.testLockingWithRollback(ConstraintCharacteristicsTest.java:1276)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
>       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)
>       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 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 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)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to