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

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

For the record, this is the assert that fails:

        // Expect this to use table scan, as the above update has basically
        // made all the rows in the table be equal to "1", thus using the index
        // does not help if all the rows are going to qualify.
        assertTrue(SQLUtilities.
                   getRuntimeStatisticsParser(stmt).usedTableScan());


> AssertionFailedError in 
> testStalePlansOnLargeTable(org.apache.derbyTesting.functionTests.tests.lang.StalePlansTest)
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3284
>                 URL: https://issues.apache.org/jira/browse/DERBY-3284
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.4.0.0
>         Environment: OS:  Solaris Nevada snv_27a X86 64 bits - SunOS 5.11 
> snv_27
> JVM: Sun Microsystems Inc. 1.6.0-b105
>            Reporter: Ole Solberg
>            Priority: Minor
>
> See 
> http://dbtg.thresher.com/derby/test/trunk16/jvmAll/testing/testlog/JDK16Jvm1.6SunOS-5.11_i86pc-i386/604668-org.apache.derbyTesting.functionTests.suites.All_diff.txt
> There was 1 failure:
> 1) 
> testStalePlansOnLargeTable(org.apache.derbyTesting.functionTests.tests.lang.StalePlansTest)junit.framework.AssertionFailedError
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.StalePlansTest.testStalePlansOnLargeTable(StalePlansTest.java:264)
>       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:96)
>       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)
>       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.

Reply via email to