GitHub user laimis opened a pull request:
https://github.com/apache/lucenenet/pull/139
check for the appropriate exception
TestDirectoryReader.TestNoDir was failing because catch was catching a
wrong exception type. Changed it to match Lucene:
https://github.com/apache/lucene-solr/blob/lucene_solr_4_8_0/lucene/core/src/test/org/apache/lucene/index/TestDirectoryReader.java#L724
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/laimis/lucenenet nodir_fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucenenet/pull/139.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 #139
----
commit 1454e2bdccf05ff01095912989974e32d9728427
Author: Laimonas Simutis <[email protected]>
Date: 2015-05-04T20:03:39Z
check for appropriate exception
----
---
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.
---