[
https://issues.apache.org/jira/browse/DERBY-6536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13960169#comment-13960169
]
Mike Matrigali commented on DERBY-6536:
---------------------------------------
not sure what is going on, but one thing different about windows is that open
files act differently
than on linux and I assume mac. You will see errors when trying to delete a
file that is still open on
windows but not on other OS's. Often this points to hidden bugs where code
meant to close files
but has not.
> 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)