You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Mike Matrigali (JIRA)" <ji...@apache.org> on 2014/04/04 19:38:14 UTC

[jira] [Comment Edited] (DERBY-6536) Errors in LuceneSupportTest on Windows platforms

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

Mike Matrigali edited comment on DERBY-6536 at 4/4/14 5:37 PM:
---------------------------------------------------------------

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.

In our tests this sometimes shows up as failure during cleanup which then leads to subsequent failures in the next tests which assume the cleanup has happened.


was (Author: mikem):
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)