You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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):
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')
I think we should [Ignore] this one. This is a test we inherited when we brought over the code from Prism.Core (which went commercial), and it has always been flakey. But we haven't had any complaints from .NET Framework or .NET Standard 2.0 users that these weak events are failing or causing any other issues.
It is a workaround for when ConditionalWeakTable<TKey, TValue> had no enumerator, so we use weak events to fake it.
Is there an existing issue for this?
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):This causes the following tests to fail on these frameworks:
Lucene.Net.Index.TestIndexReaderClose.TestCloseUnderException()
(net5.0, net48, net472)Message:
Lucene.Net.Util.Events.TestPubSubEvent.CanAddSubscriptionWhileEventIsFiringNonGeneric()
(net472)Message:
Lucene.Net.Analysis.Icu.TestICUNormalizer2CharFilter.TestRandomStrings()
(net5.0, net48)Message:
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
The text was updated successfully, but these errors were encountered: