-
Notifications
You must be signed in to change notification settings - Fork 642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix asserts that are failing on .NET Standard 2.0 #267
Comments
It turns out this is a design feature of Lucene that is used for testing. The asserts were failing by design in order to be "caught" in the BaseTermVectorsFormatTestCase. This becomes an issue on .NET Standard, because it is set up to cause a fatal crash when an assertion is thrown (when running in VSTest). I am still analyzing what the options are, but I suspect that consistently throwing an |
…estCase on TermVectorsReaders by throwing InvalidOperationException (fixes apache#267)
…estCase on TermVectorsReaders by throwing InvalidOperationException (fixes apache#267)
…estCase on TermVectorsReaders by throwing InvalidOperationException (fixes #267)
There are a few asserts that fail on .NET Standard 2.0. They have been conditionally compiled out of the code due to the fact that on .NET Core 2.1 they cause the test runner to fatally crash, however these are a sign that something could be seriously wrong with the codecs (possibly causing index corruption).
Here are the known failures:
JIRA link - [LUCENENET-624] created by nightowl888
The text was updated successfully, but these errors were encountered: