You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2021/11/07 02:57:36 UTC

[lucenenet] 09/09: Lucene.Net.Tests.Replicator: Removed all Timeout and Deadlock attributes, since changing to a ThreadJob implementation in ReplicationClient has resolved the issues with both TestConsistencyOnExceptions() tests

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 03bc03bb5bcb74d12524cc9c0d85e501473a4445
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Sat Nov 6 19:47:51 2021 +0700

    Lucene.Net.Tests.Replicator: Removed all Timeout and Deadlock attributes, since changing to a ThreadJob implementation in ReplicationClient has resolved the issues with both TestConsistencyOnExceptions() tests
---
 .../IndexAndTaxonomyReplicationClientTest.cs                       | 1 -
 src/Lucene.Net.Tests.Replicator/IndexReplicationClientTest.cs      | 1 -
 src/Lucene.Net.Tests.Replicator/Properties/AssemblyInfo.cs         | 7 +------
 3 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/src/Lucene.Net.Tests.Replicator/IndexAndTaxonomyReplicationClientTest.cs b/src/Lucene.Net.Tests.Replicator/IndexAndTaxonomyReplicationClientTest.cs
index 1c4c441..8c875b0 100644
--- a/src/Lucene.Net.Tests.Replicator/IndexAndTaxonomyReplicationClientTest.cs
+++ b/src/Lucene.Net.Tests.Replicator/IndexAndTaxonomyReplicationClientTest.cs
@@ -301,7 +301,6 @@ namespace Lucene.Net.Replicator
         // handler copies them to the index directory.
         [Test]
         [Slow]
-        [Deadlock][Timeout(600000)]
         public void TestConsistencyOnExceptions()
         {
             // so the handler's index isn't empty
diff --git a/src/Lucene.Net.Tests.Replicator/IndexReplicationClientTest.cs b/src/Lucene.Net.Tests.Replicator/IndexReplicationClientTest.cs
index c1f7dee..f156033 100644
--- a/src/Lucene.Net.Tests.Replicator/IndexReplicationClientTest.cs
+++ b/src/Lucene.Net.Tests.Replicator/IndexReplicationClientTest.cs
@@ -232,7 +232,6 @@ namespace Lucene.Net.Replicator
         // a client copies files from the server to the temporary space, or when the
         // handler copies them to the index directory.
         [Test]
-        [Deadlock][Timeout(600000)]
         public void TestConsistencyOnExceptions()
         {
             // so the handler's index isn't empty
diff --git a/src/Lucene.Net.Tests.Replicator/Properties/AssemblyInfo.cs b/src/Lucene.Net.Tests.Replicator/Properties/AssemblyInfo.cs
index ca79cd1..5ac318d 100644
--- a/src/Lucene.Net.Tests.Replicator/Properties/AssemblyInfo.cs
+++ b/src/Lucene.Net.Tests.Replicator/Properties/AssemblyInfo.cs
@@ -34,9 +34,4 @@ using System.Runtime.InteropServices;
 [assembly: ComVisible(false)]
 
 // The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("418e9d8e-2369-4b52-8d2f-5a987213999b")]
-
-
-// LUCENENET specific - time out this test project at 47 minutes to allow for time before this
-// test runs and the results to be uploaded before the 60 minute Azure DevOps job cutoff for easier troubleshooting
-[assembly: Timeout(2820000)]
\ No newline at end of file
+[assembly: Guid("418e9d8e-2369-4b52-8d2f-5a987213999b")]
\ No newline at end of file