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

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

I ran LuceneSupportTest with Java 8 on Windows 7 without seeing the problem. 
But when I modified the test to use the same ordering of the test cases as [one 
of the failing test 
runs|http://download.java.net/javadesktop/derby/request_5589319/javadb-task-3833188.html],
 it failed with the same stack trace as the first one in the bug description. 
The order was: testListIndex, testCreateAndQueryIndex, testUpdateIndex, 
testDropIndexBadCharacters.

I tried to run the test with the same ordering of the test cases on a Linux 
box, but there it didn't fail.

> Errors in LuceneSupportTest on Windows platforms
> ------------------------------------------------
>
>                 Key: DERBY-6536
>                 URL: https://issues.apache.org/jira/browse/DERBY-6536
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.11.0.0
>            Reporter: Rick Hillegas
>
> We are seeing errors like the following during the nightly test runs on 
> Windows platforms:
> {noformat}
>     junit.framework.AssertionFailedError: Column value mismatch @ column 
> 'DOCUMENTID', row 1:
>     Expected: >0<
>     Found:    >4<
>       at 
> org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1303)
>       at 
> org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1215)
>       at 
> org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.java:1102)
>       at 
> org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:1025)
>       at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:982)
>       at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:940)
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportTest.testUpdateIndex(LuceneSupportTest.java:161)
>       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)
> {noformat}
> and
> {noformat}
>     junit.framework.AssertionFailedError: Unexpected row count: expected:<1> 
> but was:<2>
>       at 
> org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.java:1110)
>       at 
> org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:1025)
>       at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:982)
>       at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:940)
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportTest.testListIndex(LuceneSupportTest.java:212)
>       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)
> {noformat}



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

Reply via email to