db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6336) AssertionFailedError in testStalePlansOnLargeTable(org.apache.derbyTesting.functionTests.tests.lang.StalePlansTest)
Date Tue, 12 Aug 2014 09:20:12 GMT

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

Knut Anders Hatlen commented on DERBY-6336:
-------------------------------------------

I ran the test with {{derby.storage.indexStats.log=true}} and saw that the index statistics
daemon does kick in during the test. I don't know if that is what's causing this failure,
but I think it makes sense to disable the index statistics daemon for this test. Since the
test needs to control exactly when statements are recompiled in order to run reliably, it
is imaginable that the index statistics daemon confuses the test if it kicks in and changes
the index cardinality statistics at a bad time.

> AssertionFailedError in testStalePlansOnLargeTable(org.apache.derbyTesting.functionTests.tests.lang.StalePlansTest)
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6336
>                 URL: https://issues.apache.org/jira/browse/DERBY-6336
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.11.1.1
>         Environment: Windows 2008, ibm 1.7 SR5.
>            Reporter: Myrna van Lunteren
>         Attachments: d6336-more-info.diff
>
>
> Saw this in nightly testing of trunk (10.11 alpha at revision 1520189): 
> testStalePlansOnLargeTable(org.apache.derbyTesting.functionTests.tests.lang.StalePlansTest)junit.framework.AssertionFailedError
> 	at org.apache.derbyTesting.functionTests.tests.lang.StalePlansTest.testStalePlansOnLargeTable(StalePlansTest.java:252)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:439)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:456)
> 	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)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message