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

Myrna van Lunteren commented on DERBY-6495:
-------------------------------------------

Looks like sort order is not completely laid down in this instance. I'll go 
over the test and add some more columns in the order by clause wherever it's 
only on indexname now and the resultset has more than one row for any index.

> Error in SelectivityTest.testBasic
> ----------------------------------
>
>                 Key: DERBY-6495
>                 URL: https://issues.apache.org/jira/browse/DERBY-6495
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.11.0.0
>            Reporter: Rick Hillegas
>            Assignee: Myrna van Lunteren
>
> The nightly test results at 
> http://download.java.net/javadesktop/derby/request_5588377/javadb-task-3815121.html
>  show this error:
>     junit.framework.AssertionFailedError: Column value mismatch @ column 
> 'STATS', row 1:
>     Expected: >numunique= 3 numrows= 7<
>     Found:    >numunique= 7 numrows= 7<
>       at 
> org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1291)
>       at 
> org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1203)
>       at 
> org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.java:1090)
>       at 
> org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:1013)
>       at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:970)
>       at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:928)
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.SelectivityTest.testBasic(SelectivityTest.java:1181)
>       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 
> 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)

Reply via email to