lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [32/47] lucenenet git commit: Increased timeouts on tests that were failing because of the 20 second limit imposed on all core tests.
Date Tue, 11 Oct 2016 18:35:17 GMT
Increased timeouts on tests that were failing because of the 20 second limit imposed on all
core tests.


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

Branch: refs/heads/master
Commit: e72a7f83462bcefa6020963fcd1462f0ffb011e9
Parents: e77e6a1
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Mon Oct 10 18:25:54 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Oct 12 01:10:45 2016 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests/core/Index/TestDuelingCodecs.cs         | 2 +-
 src/Lucene.Net.Tests/core/Index/TestIndexWriterMerging.cs    | 2 +-
 src/Lucene.Net.Tests/core/Index/TestMixedDocValuesUpdates.cs | 2 +-
 src/Lucene.Net.Tests/core/Search/TestSearchAfter.cs          | 2 +-
 src/Lucene.Net.Tests/core/Util/Packed/TestPackedInts.cs      | 2 +-
 src/Lucene.Net.Tests/core/Util/StressRamUsageEstimator.cs    | 3 ++-
 6 files changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e72a7f83/src/Lucene.Net.Tests/core/Index/TestDuelingCodecs.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestDuelingCodecs.cs b/src/Lucene.Net.Tests/core/Index/TestDuelingCodecs.cs
index 06c3dbb..f3e8e9d 100644
--- a/src/Lucene.Net.Tests/core/Index/TestDuelingCodecs.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestDuelingCodecs.cs
@@ -169,7 +169,7 @@ namespace Lucene.Net.Index
         /// <summary>
         /// checks the two indexes are equivalent
         /// </summary>
-        [Test]
+        [Test, Timeout(120000)]
         public virtual void TestEquals()
         {
             AssertReaderEquals(Info, LeftReader, RightReader);

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e72a7f83/src/Lucene.Net.Tests/core/Index/TestIndexWriterMerging.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestIndexWriterMerging.cs b/src/Lucene.Net.Tests/core/Index/TestIndexWriterMerging.cs
index 5181ae0..f689f64 100644
--- a/src/Lucene.Net.Tests/core/Index/TestIndexWriterMerging.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestIndexWriterMerging.cs
@@ -349,7 +349,7 @@ namespace Lucene.Net.Index
             dir.Dispose();
         }
 
-        [Test]
+        [Test, Timeout(80000)]
         public virtual void TestNoWaitClose()
         {
             Directory directory = NewDirectory();

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e72a7f83/src/Lucene.Net.Tests/core/Index/TestMixedDocValuesUpdates.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestMixedDocValuesUpdates.cs b/src/Lucene.Net.Tests/core/Index/TestMixedDocValuesUpdates.cs
index 5fd7339..eb666e8 100644
--- a/src/Lucene.Net.Tests/core/Index/TestMixedDocValuesUpdates.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestMixedDocValuesUpdates.cs
@@ -488,7 +488,7 @@ namespace Lucene.Net.Index
             dir.Dispose();
         }
 
-        [Test]
+        [Test, Timeout(80000)]
         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/e72a7f83/src/Lucene.Net.Tests/core/Search/TestSearchAfter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Search/TestSearchAfter.cs b/src/Lucene.Net.Tests/core/Search/TestSearchAfter.cs
index 93d3414..51c68e5 100644
--- a/src/Lucene.Net.Tests/core/Search/TestSearchAfter.cs
+++ b/src/Lucene.Net.Tests/core/Search/TestSearchAfter.cs
@@ -190,7 +190,7 @@ namespace Lucene.Net.Search
             base.TearDown();
         }
 
-        [Test, LongRunningTest]
+        [Test, LongRunningTest, Timeout(90000)]
         public virtual void TestQueries()
         {
             // because the first page has a null 'after', we get a normal collector.

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e72a7f83/src/Lucene.Net.Tests/core/Util/Packed/TestPackedInts.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Util/Packed/TestPackedInts.cs b/src/Lucene.Net.Tests/core/Util/Packed/TestPackedInts.cs
index d1057a9..ad72757 100644
--- a/src/Lucene.Net.Tests/core/Util/Packed/TestPackedInts.cs
+++ b/src/Lucene.Net.Tests/core/Util/Packed/TestPackedInts.cs
@@ -1119,7 +1119,7 @@ namespace Lucene.Net.Util.Packed
         }
 
 
-        [Test]
+        [Test, Timeout(80000)]
         public virtual void TestAppendingLongBuffer()
         {
 

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e72a7f83/src/Lucene.Net.Tests/core/Util/StressRamUsageEstimator.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Util/StressRamUsageEstimator.cs b/src/Lucene.Net.Tests/core/Util/StressRamUsageEstimator.cs
index c0b8533..0a63554 100644
--- a/src/Lucene.Net.Tests/core/Util/StressRamUsageEstimator.cs
+++ b/src/Lucene.Net.Tests/core/Util/StressRamUsageEstimator.cs
@@ -1,3 +1,4 @@
+using Lucene.Net.Attributes;
 using Lucene.Net.Support;
 using NUnit.Framework;
 using System;
@@ -119,7 +120,7 @@ namespace Lucene.Net.Util
             return s;
         }
 
-        [Test, Timeout(180000)]
+        [Test, LongRunningTest, Timeout(300000)]
         public virtual void TestSimpleByteArrays()
         {
             object[][] all = new object[0][];


Mime
View raw message