GitHub user laimis opened a pull request:
https://github.com/apache/lucenenet/pull/86
Initialize doc before each test run
In Java each test run initializes a new TestDoc instance, while in .NET
version that is initialized once and all the other per test inits are done in
SetUp. Moved the doc init into SetUp as well. This fixes failures in
Lucene.Net.Index.TestSegmentTermDocs
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/laimis/lucenenet testsegmenttermdocs_fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucenenet/pull/86.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #86
----
commit af785e29c1cd41f6535fa417d8dba7c9d9c82fc9
Author: Laimonas Simutis <[email protected]>
Date: 2015-02-08T12:36:45Z
initialize doc before each test run
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---