This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit b613ad427e6ba939fa8d5452096b683f7a57fdfa
Author: Shad Storhaug <[email protected]>
AuthorDate: Tue Nov 23 10:34:23 2021 +0700

    Cleaned up calls to UninterruptableMonitor.RestoreInterrupt(), which has 
already been removed.
---
 src/Lucene.Net.TestFramework/Util/TestUtil.cs           | 1 -
 src/Lucene.Net.Tests/Index/TestIndexWriterOnJRECrash.cs | 1 -
 2 files changed, 2 deletions(-)

diff --git a/src/Lucene.Net.TestFramework/Util/TestUtil.cs 
b/src/Lucene.Net.TestFramework/Util/TestUtil.cs
index c159b15..1802d1f 100644
--- a/src/Lucene.Net.TestFramework/Util/TestUtil.cs
+++ b/src/Lucene.Net.TestFramework/Util/TestUtil.cs
@@ -864,7 +864,6 @@ namespace Lucene.Net.Util
         //    {
         //      try
         //      {
-        //        UninterruptableMonitor.RestoreInterrupt();
         //        ex.shutdown();
         //        ex.awaitTermination(1, TimeUnit.SECONDS);
         //      }
diff --git a/src/Lucene.Net.Tests/Index/TestIndexWriterOnJRECrash.cs 
b/src/Lucene.Net.Tests/Index/TestIndexWriterOnJRECrash.cs
index 60d5268..4263748 100644
--- a/src/Lucene.Net.Tests/Index/TestIndexWriterOnJRECrash.cs
+++ b/src/Lucene.Net.Tests/Index/TestIndexWriterOnJRECrash.cs
@@ -106,7 +106,6 @@
 //            {
 //                try
 //                {
-//                    UninterruptableMonitor.RestoreInterrupt();
 //                    Thread.Sleep(CrashTime);
 //                }
 //                catch (Exception e) when (e.IsInterruptedException())

Reply via email to