lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [lucenenet] 07/07: Lucene.Net.Tests.Replicator: Had a test hang on a build.bat run, but unclear which test caused the hang and unable to easily repeat. Adding the Timeout attribute to the assembly so in the event of another hang, we will get a failed test.
Date Sat, 13 Jul 2019 17:52:09 GMT
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 5fbf24555cda49b4db9c442636c6bf7fc9b28d17
Author: Shad Storhaug <shad@shadstorhaug.com>
AuthorDate: Sun Jul 14 00:50:14 2019 +0700

    Lucene.Net.Tests.Replicator: Had a test hang on a build.bat run, but unclear which test
caused the hang and unable to easily repeat. Adding the Timeout attribute to the assembly
so in the event of another hang, we will get a failed test.
---
 src/Lucene.Net.Tests.Replicator/Properties/AssemblyInfo.cs | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/Lucene.Net.Tests.Replicator/Properties/AssemblyInfo.cs b/src/Lucene.Net.Tests.Replicator/Properties/AssemblyInfo.cs
index 4de1f37..8c77c6b 100644
--- a/src/Lucene.Net.Tests.Replicator/Properties/AssemblyInfo.cs
+++ b/src/Lucene.Net.Tests.Replicator/Properties/AssemblyInfo.cs
@@ -35,3 +35,9 @@ using System.Runtime.InteropServices;
 
 // 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 TODO: 2019-07-14 - Had a hanging test in Lucene.Net.Tests.Replicator (not sure
which one),
+// but unable to repeat. Adding this timeout (with at least 10x the time it usually takes
+// to run all of these tests) to ensure if we get a hang again, the hanging test will fail
+// so we know which test to investigate.
+[assembly: NUnit.Framework.Timeout(120000)]


Mime
View raw message