You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2014/11/26 20:07:12 UTC
[jira] [Commented] (LUCENE-6078)
testClosingNRTReaderDoesNotCorruptYourIndex fail
[ https://issues.apache.org/jira/browse/LUCENE-6078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14226662#comment-14226662 ]
Michael McCandless commented on LUCENE-6078:
--------------------------------------------
I'll fix: the test already does this:
{noformat}
assumeFalse("this test can't run on Windows", Constants.WINDOWS);
{noformat}
so we also must assume it doesn't get WindowsFS :)
> testClosingNRTReaderDoesNotCorruptYourIndex fail
> ------------------------------------------------
>
> Key: LUCENE-6078
> URL: https://issues.apache.org/jira/browse/LUCENE-6078
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
>
> I havent had time to dig yet, dont want to lose the seed.
> {noformat}
> [junit4] Suite: org.apache.lucene.index.TestIndexWriter
> [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestIndexWriter -Dtests.method=testClosingNRTReaderDoesNotCorruptYourIndex -Dtests.seed=96987E2DC40CF59 -Dtests.directory=NIOFSDirectory -Dtests.locale=ar_YE -Dtests.timezone=Europe/Lisbon -Dtests.asserts=true -Dtests.file.encoding=UTF-8
> [junit4] ERROR 0.02s J1 | TestIndexWriter.testClosingNRTReaderDoesNotCorruptYourIndex <<<
> [junit4] > Throwable #1: java.io.IOException: access denied: /home/rmuir/workspace/trunk/lucene/build/core/test/J1/temp/lucene.index.TestIndexWriter-96987E2DC40CF59-001/index-NIOFSDirectory-066/_1.nvd
> [junit4] > at __randomizedtesting.SeedInfo.seed([96987E2DC40CF59:7EB89313A45B3566]:0)
> [junit4] > at org.apache.lucene.mockfile.WindowsFS.checkDeleteAccess(WindowsFS.java:106)
> [junit4] > at org.apache.lucene.mockfile.WindowsFS.delete(WindowsFS.java:114)
> [junit4] > at java.nio.file.Files.delete(Files.java:1126)
> [junit4] > at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:210)
> [junit4] > at org.apache.lucene.store.MockDirectoryWrapper.deleteFile(MockDirectoryWrapper.java:530)
> [junit4] > at org.apache.lucene.store.MockDirectoryWrapper.deleteFile(MockDirectoryWrapper.java:475)
> [junit4] > at org.apache.lucene.index.TestIndexWriter.testClosingNRTReaderDoesNotCorruptYourIndex(TestIndexWriter.java:2651)
> [junit4] > at java.lang.Thread.run(Thread.java:745)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org