lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ishan Chattopadhyaya (JIRA)" <>
Subject [jira] [Updated] (SOLR-7168) TestSolrConfigHandler Test failure :Could not remove the following files
Date Fri, 27 Feb 2015 12:36:05 GMT


Ishan Chattopadhyaya updated SOLR-7168:
    Attachment: SOLR-7168.patch

Even after this fix, this test was still failing on Windows.

Attached a patch to fix this failure. Putting the OutputStream into a try with resources (instead
of and replacing FileUtils.sync() to oal.util.IOUtils.fsync()
fixes the failure.

Just a thought, since the FileUtils.sync() mentions it has been copied from FSDirectory.fsync()
and that FSDirectory.fsync() itself is now just a wrapper to oal.util.IOUtils.fsync(), shouldn't
we just remove FileUtils.sync() altogether? It seems to be referred to from SnapPuller and

> TestSolrConfigHandler Test failure :Could not remove the following files 
> -------------------------------------------------------------------------
>                 Key: SOLR-7168
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>         Environment:
> {noformat}
> Stack Trace:
> Could not remove the following files (in the order of attempts):
>    C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\temp\solr.core.TestSolrConfigHandler
> {noformat}
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>             Fix For: Trunk, 5.1
>         Attachments: SOLR-7168.patch

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message