[
https://issues.apache.org/jira/browse/LUCENENET-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13286433#comment-13286433
]
Luc Vanlerberghe commented on LUCENENET-484:
--------------------------------------------
The failures in the TestSanity test cases are due to a bug in Cleanup which is
called whenever a GC is detected in CleanIfNeeded (which is itself called from
several places)
Cleanup actually drops all cache entries that have live keys instead of the
other way around!
I also corrected a race condition in WeakKey<T>.Equals (that will probably only
happen under heavy load when you least
I'll post patches with the corrections and updated test cases in a minute...
> Some possibly major tests intermittently fail
> ----------------------------------------------
>
> Key: LUCENENET-484
> URL: https://issues.apache.org/jira/browse/LUCENENET-484
> Project: Lucene.Net
> Issue Type: Bug
> Components: Lucene.Net Core, Lucene.Net Test
> Affects Versions: Lucene.Net 3.0.3
> Reporter: Christopher Currens
> Fix For: Lucene.Net 3.0.3
>
>
> These tests will fail intermittently in Debug or Release mode, in the core
> test suite:
> # -Lucene.Net.Index:-
> #- -TestConcurrentMergeScheduler.TestFlushExceptions-
> # Lucene.Net.Store:
> #- TestLockFactory.TestStressLocks
> # Lucene.Net.Search:
> #- TestSort.TestParallelMultiSort
> # Lucene.Net.Util:
> #- TestFieldCacheSanityChecker.TestInsanity1
> #- TestFieldCacheSanityChecker.TestInsanity2
> #- (It's possible all of the insanity tests fail at one point or another)
> # Lucene.Net.Support
> #- TestWeakHashTableMultiThreadAccess.Test
> TestWeakHashTableMultiThreadAccess should be fine to remove along with the
> WeakHashTable in the Support namespace, since it's been replaced with
> WeakDictionary.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira