[ https://issues.apache.org/jira/browse/SOLR-4139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cassandra Targett updated SOLR-4139: ------------------------------------ Component/s: Tests > TestReplicationHandler fails if preventDoubleWrite is enabled in > MockDirectoryWrapper > ------------------------------------------------------------------------------------- > > Key: SOLR-4139 > URL: https://issues.apache.org/jira/browse/SOLR-4139 > Project: Solr > Issue Type: Bug > Components: Tests > Reporter: Shai Erera > > Currently, if preventDoubleWrite is enabled in MockDirectoryWrapper, > TestReplicationHandler fails with this exception: > {noformat} > [junit4:junit4] 2> Caused by: java.io.IOException: file > "index.properties" was already written to > [junit4:junit4] 2> at > org.apache.lucene.store.MockDirectoryWrapper.createOutput(MockDirectoryWrapper.java:411) > [junit4:junit4] 2> at > org.apache.solr.handler.SnapPuller.modifyIndexProps(SnapPuller.java:872) > [junit4:junit4] 2> ... 11 more > {noformat} > I diabled that setting in MockDirectoryFactory, but I suggest that someone > who understands the code better have a look at it. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org