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 2017/03/09 05:53:14 UTC

[4/6] lucenenet git commit: Lucene.Net.Tests.Util.TestFixedBitSet.TestSmall(): increased timeout to 60 seconds because under load it can go over 20

Lucene.Net.Tests.Util.TestFixedBitSet.TestSmall(): increased timeout to 60 seconds because under load it can go over 20


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

Branch: refs/heads/api-work
Commit: bdf332418c8f2fafcbacdbe868ba83f22f92f24b
Parents: e99feaa
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Thu Mar 9 11:30:25 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Thu Mar 9 11:30:25 2017 +0700

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


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/bdf33241/src/Lucene.Net.Tests/Util/TestFixedBitSet.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/Util/TestFixedBitSet.cs b/src/Lucene.Net.Tests/Util/TestFixedBitSet.cs
index 84d85a7..12b7405 100644
--- a/src/Lucene.Net.Tests/Util/TestFixedBitSet.cs
+++ b/src/Lucene.Net.Tests/Util/TestFixedBitSet.cs
@@ -261,7 +261,11 @@ namespace Lucene.Net.Util
 
         // large enough to flush obvious bugs, small enough to run in <.5 sec as part of a
         // larger testsuite.
-        [Test]
+#if !NETSTANDARD
+        // LUCENENET: There is no Timeout on NUnit for .NET Core.
+        [Timeout(60000)]
+#endif
+        [Test, HasTimeout]
         public virtual void TestSmall()
         {
             DoRandomSets(AtLeast(1200), AtLeast(1000), 1);