Skip to content
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

Fixes Lucene.Net.Index.TestIndexWriter::TestThreadInterruptDeadlock() and Lucene.Net.Index.TestIndexWriter::TestTwoThreadsInterruptDeadlock() #525

Merged
merged 8 commits into from
Oct 17, 2021

Commits on Oct 17, 2021

  1. Removed [Deadlock] attribute from tests that were deadlocking due to …

    …extra Thread.Sleep(0) call in IndexWriter.Dispose().
    NightOwl888 committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    6c7d032 View commit details
    Browse the repository at this point in the history
  2. SWEEP: Added Lucene.Net.Util.ThreadInterruptedException and re-throw …

    …it in all of the places that Lucene does.
    NightOwl888 committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    7110421 View commit details
    Browse the repository at this point in the history
  3. Lucene.Net.Support.Threading: Created UninterruptableMonitor class to…

    … handle entering locks without throwing System.Threading.ThreadInterruptedException (which is what happens in Java)
    NightOwl888 committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    d2d714d View commit details
    Browse the repository at this point in the history
  4. SWEEP: Lucene.Net: Changed all lock statements to UninterruptableMoni…

    …tor.Enter and UninterruptableMonitor.Exit to prevent ThreadInterruptedException from occurring when entering a lock.
    NightOwl888 committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    1bfe7a9 View commit details
    Browse the repository at this point in the history
  5. SWEEP: Lucene.Net.TestFramework: Changed all lock statements to Unint…

    …erruptableMonitor.Enter and UninterruptableMonitor.Exit to prevent ThreadInterruptedException from occurring when entering a lock.
    NightOwl888 committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    28f3b4e View commit details
    Browse the repository at this point in the history
  6. SWEEP: Changed all lock statements to UninterruptableMonitor.Enter an…

    …d UninterruptableMonitor.Exit to prevent ThreadInterruptedException from occurring when entering a lock.
    NightOwl888 committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    7de7a9c View commit details
    Browse the repository at this point in the history
  7. Lucene.Net.Index.DocumentsWriter::UnlockAllAfterAbortAll() Added miss…

    …ing when clause on catch block
    NightOwl888 committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    93fc307 View commit details
    Browse the repository at this point in the history
  8. Lucene.Net.Tests.Index.TestIndexWriter: Removed [AwaitsFix] attribute…

    … from TestThreadInterruptDeadlock() and TestTwoThreadsInterruptDeadlock(), since they now are passing
    NightOwl888 committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    4c3faf0 View commit details
    Browse the repository at this point in the history