lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [18/18] lucenenet git commit: Increased timeout values of long running tests so they will have ample time to complete.
Date Sun, 21 Aug 2016 06:54:57 GMT
Increased timeout values of long running tests so they will have ample time to complete.


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

Branch: refs/heads/master
Commit: bb59767c6622fca06e11b9a6c29d19901b2df236
Parents: 9124e03
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sun Aug 21 12:39:57 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sun Aug 21 12:39:57 2016 +0700

----------------------------------------------------------------------
 .../core/Codecs/Lucene41/TestBlockPostingsFormat3.cs             | 2 +-
 src/Lucene.Net.Tests/core/Index/TestBinaryDocValuesUpdates.cs    | 2 +-
 src/Lucene.Net.Tests/core/Index/TestTermdocPerf.cs               | 2 +-
 src/Lucene.Net.Tests/core/Search/TestAutomatonQuery.cs           | 3 ++-
 src/Lucene.Net.Tests/core/Util/Packed/TestEliasFanoSequence.cs   | 4 ++--
 src/Lucene.Net.Tests/core/Util/TestPagedBytes.cs                 | 2 +-
 6 files changed, 8 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/bb59767c/src/Lucene.Net.Tests/core/Codecs/Lucene41/TestBlockPostingsFormat3.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Codecs/Lucene41/TestBlockPostingsFormat3.cs b/src/Lucene.Net.Tests/core/Codecs/Lucene41/TestBlockPostingsFormat3.cs
index 6552584..44e268c 100644
--- a/src/Lucene.Net.Tests/core/Codecs/Lucene41/TestBlockPostingsFormat3.cs
+++ b/src/Lucene.Net.Tests/core/Codecs/Lucene41/TestBlockPostingsFormat3.cs
@@ -72,7 +72,7 @@ namespace Lucene.Net.Codecs.Lucene41
         internal static readonly int MAXDOC = Lucene41PostingsFormat.BLOCK_SIZE * 20;
 
         // creates 8 fields with different options and does "duels" of fields against each
other
-        [Test, LongRunningTest]
+        [Test, LongRunningTest, Timeout(50000)]
         public virtual void Test()
         {
             Directory dir = NewDirectory();

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/bb59767c/src/Lucene.Net.Tests/core/Index/TestBinaryDocValuesUpdates.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestBinaryDocValuesUpdates.cs b/src/Lucene.Net.Tests/core/Index/TestBinaryDocValuesUpdates.cs
index 9c89305..ba08f6c 100644
--- a/src/Lucene.Net.Tests/core/Index/TestBinaryDocValuesUpdates.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestBinaryDocValuesUpdates.cs
@@ -1612,7 +1612,7 @@ namespace Lucene.Net.Index
             dir.Dispose();
         }
 
-        [Test, LongRunningTest]
+        [Test, LongRunningTest, Timeout(40000)]
         public virtual void TestTonsOfUpdates()
         {
             // LUCENE-5248: make sure that when there are many updates, we don't use too
much RAM

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/bb59767c/src/Lucene.Net.Tests/core/Index/TestTermdocPerf.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestTermdocPerf.cs b/src/Lucene.Net.Tests/core/Index/TestTermdocPerf.cs
index 1f7dd36..c1538c1 100644
--- a/src/Lucene.Net.Tests/core/Index/TestTermdocPerf.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestTermdocPerf.cs
@@ -163,7 +163,7 @@ namespace Lucene.Net.Index
             return ret;
         }
 
-        [Test, LongRunningTest]
+        [Test, LongRunningTest, Timeout(120000)]
         public virtual void TestTermDocPerf()
         {
             // performance test for 10% of documents containing a term

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/bb59767c/src/Lucene.Net.Tests/core/Search/TestAutomatonQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Search/TestAutomatonQuery.cs b/src/Lucene.Net.Tests/core/Search/TestAutomatonQuery.cs
index 4cd8d3c..a124089 100644
--- a/src/Lucene.Net.Tests/core/Search/TestAutomatonQuery.cs
+++ b/src/Lucene.Net.Tests/core/Search/TestAutomatonQuery.cs
@@ -5,6 +5,7 @@ using System.Threading;
 
 namespace Lucene.Net.Search
 {
+    using Attributes;
     using NUnit.Framework;
     using Automaton = Lucene.Net.Util.Automaton.Automaton;
     using AutomatonTestUtil = Lucene.Net.Util.Automaton.AutomatonTestUtil;
@@ -222,7 +223,7 @@ namespace Lucene.Net.Search
             Assert.AreEqual(0, AutomatonQueryNrHits(aq));
         }
 
-        [Test]
+        [Test, LongRunningTest, Timeout(40000)]
         public virtual void TestHashCodeWithThreads()
         {
             AutomatonQuery[] queries = new AutomatonQuery[1000];

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/bb59767c/src/Lucene.Net.Tests/core/Util/Packed/TestEliasFanoSequence.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Util/Packed/TestEliasFanoSequence.cs b/src/Lucene.Net.Tests/core/Util/Packed/TestEliasFanoSequence.cs
index 36201af..9020f3b 100644
--- a/src/Lucene.Net.Tests/core/Util/Packed/TestEliasFanoSequence.cs
+++ b/src/Lucene.Net.Tests/core/Util/Packed/TestEliasFanoSequence.cs
@@ -304,7 +304,7 @@ namespace Lucene.Net.Util.Packed
             }
         }
 
-        [Test, LongRunningTest]
+        [Test, LongRunningTest, Timeout(50000)]
         public virtual void TestMonotoneSequencesLonger()
         {
             for (int s = 2; s < 4422; s++)
@@ -333,7 +333,7 @@ namespace Lucene.Net.Util.Packed
             }
         }
 
-        [Test, LongRunningTest]
+        [Test, LongRunningTest, Timeout(50000)]
         public virtual void TestStrictMonotoneSequencesLonger()
         {
             for (int s = 2; s < 4422; s++)

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/bb59767c/src/Lucene.Net.Tests/core/Util/TestPagedBytes.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Util/TestPagedBytes.cs b/src/Lucene.Net.Tests/core/Util/TestPagedBytes.cs
index 7e63c67..42e305a 100644
--- a/src/Lucene.Net.Tests/core/Util/TestPagedBytes.cs
+++ b/src/Lucene.Net.Tests/core/Util/TestPagedBytes.cs
@@ -179,7 +179,7 @@ namespace Lucene.Net.Util
         }
 
         [Test]
-        [LongRunningTest]
+        [LongRunningTest, Timeout(120000)]
         public virtual void TestOverflow() // memory hole
         {
             BaseDirectoryWrapper dir = NewFSDirectory(CreateTempDir("testOverflow"));


Mime
View raw message