Shai Erera created SOLR-4139: -------------------------------- Summary: 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 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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org