db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5333) Intermittent assert failure in testInterruptShutdown: thread's interrupted flag lost after shutdown
Date Tue, 19 Jul 2011 17:34:57 GMT

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

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

I was able to see this in the debugger by holding back the background daemon doing checkpointing
a bit, so there is a bug here.



> Intermittent assert failure in testInterruptShutdown: thread's interrupted flag lost
after shutdown
> ---------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5333
>                 URL: https://issues.apache.org/jira/browse/DERBY-5333
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>            Reporter: Dag H. Wanvik
>            Priority: Minor
>
> Saw this while running trunk's InterruptResilienceTest 800 times back-to-back with JDK1.7
b147 looking for DERBY-5312. It is independent of that issue, though: I saw it with both proposed
patches for that issue also.
> 1) testInterruptShutdown(org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest)junit.f\
> ramework.AssertionFailedError
>         at org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.testInterruptShutdown\
> (InterruptResilienceTest.java:667)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
>         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 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message