GitHub user laimis opened a pull request:
https://github.com/apache/lucenenet/pull/116
initialize test doc on each test run
TestSegmentReader.TestDocument is failing because TestDoc instance is not
initialized for each test run. Java's test runner seems to run SetUp method as
well as initialize all instance variables on each run without having to have
that code live in SetUp method.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/laimis/lucenenet testsegmentreader_fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucenenet/pull/116.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 #116
----
commit 62c02b39ebda35e6995ba6b261547b8b33e70ad5
Author: Laimonas Simutis <[email protected]>
Date: 2015-03-01T17:25:53Z
initialize test doc on 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.
---