paulirwin opened a new issue, #998:
URL: https://github.com/apache/lucenenet/issues/998
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
Found a random failing test seed/culture pair. Set the following in a
`lucene.testsettings.json` file in your repo root (or somewhere between the
test executable and the root of your drive):
```json
{
"tests": {
"seed": "0x9a2b7430d6d33f0d",
"culture": "en-IE"
}
}
```
This causes the following tests to fail on these frameworks:
`Lucene.Net.Index.TestIndexReaderClose.TestCloseUnderException()` (net5.0,
net48, net472)
Message:
> System.ArgumentException : The supplied DateTime represents an invalid
time. For example, when the clock is adjusted forward, any time in the period
that is skipped is invalid. (Parameter 'dateTime')
`Lucene.Net.Util.Events.TestPubSubEvent.CanAddSubscriptionWhileEventIsFiringNonGeneric()`
(net472)
Message:
> Expected: True Actual: False
`Lucene.Net.Analysis.Icu.TestICUNormalizer2CharFilter.TestRandomStrings()`
(net5.0, net48)
Message:
> Lucene.Net.Diagnostics.AssertionException : End() called before
IncrementToken() returned false!
### Expected Behavior
The tests all pass.
### Steps To Reproduce
_No response_
### Exceptions (if any)
_No response_
### Lucene.NET Version
4.8.0-beta00017
### .NET Version
Various (listed above)
### Operating System
Windows
### Anything else?
x64 platform, running `./build.ps1 -t`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]