lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [3/7] lucenenet git commit: Lucene.Net.Tests.Search.TestRealControlledRealTimeReopenThread.TestCRTReopen(): Reduced timeout to 40 seconds and set it in an #if block for .NET Core support.
Date Fri, 24 Mar 2017 11:47:51 GMT
Lucene.Net.Tests.Search.TestRealControlledRealTimeReopenThread.TestCRTReopen(): Reduced timeout
to 40 seconds and set it in an #if block for .NET Core support.


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

Branch: refs/heads/api-work
Commit: 0d4619aa95597338a12e14bbc8200459f51a2ee4
Parents: dfb2e92
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Fri Mar 24 18:12:36 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Fri Mar 24 18:12:36 2017 +0700

----------------------------------------------------------------------
 .../Search/TestControlledRealTimeReopenThread.cs               | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/0d4619aa/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs b/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs
index a9ed1e8..89222c3 100644
--- a/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs
+++ b/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs
@@ -625,8 +625,12 @@ namespace Lucene.Net.Search
             }
         }
 
+#if !NETSTANDARD
+        // LUCENENET: There is no Timeout on NUnit for .NET Core.
+        [Timeout(40000)]
+#endif
         // LUCENE-5461
-        [Test, Timeout(120000)]
+        [Test, HasTimeout]
         public virtual void TestCRTReopen()
         {
             //test behaving badly


Mime
View raw message