lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [3/3] lucenenet git commit: Lucene.Net.Tests.Index.TestIndexWriterReader.TestMergeWarmer(): Increased timeout to 2 minutes
Date Wed, 22 Mar 2017 12:51:56 GMT
Lucene.Net.Tests.Index.TestIndexWriterReader.TestMergeWarmer(): Increased timeout to 2 minutes


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/adabd1ea
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/adabd1ea
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/adabd1ea

Branch: refs/heads/api-work
Commit: adabd1ea72d30ecd3cbd5ec12b94c42af3cd507e
Parents: 04684b0
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Mar 22 17:33:33 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Mar 22 17:33:33 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests/Index/TestIndexWriterReader.cs | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/adabd1ea/src/Lucene.Net.Tests/Index/TestIndexWriterReader.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/Index/TestIndexWriterReader.cs b/src/Lucene.Net.Tests/Index/TestIndexWriterReader.cs
index 901f1fa..fd8032e 100644
--- a/src/Lucene.Net.Tests/Index/TestIndexWriterReader.cs
+++ b/src/Lucene.Net.Tests/Index/TestIndexWriterReader.cs
@@ -743,7 +743,11 @@ namespace Lucene.Net.Index
             }
         }
 
-        [Test]
+#if !NETSTANDARD
+        // LUCENENET: There is no Timeout on NUnit for .NET Core.
+        [Timeout(120000)]
+#endif
+        [Test, HasTimeout]
         public virtual void TestMergeWarmer([ValueSource(typeof(ConcurrentMergeSchedulerFactories),
"Values")]Func<IConcurrentMergeScheduler> newScheduler)
         {
             Directory dir1 = GetAssertNoDeletesDirectory(NewDirectory());


Mime
View raw message