lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [27/27] lucenenet git commit: Lucene.Net.Tests.Util.TestPagedBytes: Added timeout for TestDataInputOutput2() method.
Date Thu, 02 Mar 2017 01:11:10 GMT
Lucene.Net.Tests.Util.TestPagedBytes: Added timeout for TestDataInputOutput2() method.


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

Branch: refs/heads/api-work
Commit: a6337320f3f96bf53cd52ca6d388ad99eada7c37
Parents: 38e696c
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Thu Mar 2 06:10:51 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Thu Mar 2 08:09:09 2017 +0700

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


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a6337320/src/Lucene.Net.Tests/Util/TestPagedBytes.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/Util/TestPagedBytes.cs b/src/Lucene.Net.Tests/Util/TestPagedBytes.cs
index 6d88697..03ebda6 100644
--- a/src/Lucene.Net.Tests/Util/TestPagedBytes.cs
+++ b/src/Lucene.Net.Tests/Util/TestPagedBytes.cs
@@ -119,7 +119,11 @@ namespace Lucene.Net.Util
         // Writes random byte/s into PagedBytes via
         // .getDataOutput(), then verifies with
         // PagedBytes.getDataInput():
-        [Test, LongRunningTest]
+#if !NETSTANDARD
+        // LUCENENET: There is no Timeout on NUnit for .NET Core.
+        [Timeout(90000)]
+#endif
+        [Test, LongRunningTest, HasTimeout]
         public virtual void TestDataInputOutput2()
         {
             Random random = Random();


Mime
View raw message