lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [4/6] lucenenet git commit: adding long running test flag to TestRandomUnicodeStrings (+4 squashed commit)
Date Fri, 06 Feb 2015 08:03:20 GMT
adding long running test flag to TestRandomUnicodeStrings (+4 squashed commit)

Squashed commit:

[8a98f37] Marking StressIndexing test long running

[8cd97a5] Marking TestPagedBytes long-running

[7994c25] changing TestRandomRegexps() that crashes vs when test runned.

[deab1e3] covering test intersect random (+3 squashed commit)

Squashed commit:

[7994c25] changing TestRandomRegexps() that crashes vs when test runned.

[deab1e3] covering test intersect random

[995b4cf] marking TestLookaheadTokenFilter (+1 squashed commits)

Squashed commits:

[995b4cf] marking TestLookaheadTokenFilter


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

Branch: refs/heads/master
Commit: 4d5b50184dd6877d1fc7e1108db94fe43d7aa0ac
Parents: 74deb0d
Author: Wyatt Barnett <wyatt.barnett@gmail.com>
Authored: Tue Feb 3 21:58:04 2015 -0500
Committer: Wyatt Barnett <wyatt.barnett@gmail.com>
Committed: Fri Feb 6 01:07:14 2015 -0500

----------------------------------------------------------------------
 src/Lucene.Net.Tests/core/Analysis/TestLookaheadTokenFilter.cs | 5 +++--
 src/Lucene.Net.Tests/core/Analysis/TestMockAnalyzer.cs         | 3 ++-
 src/Lucene.Net.Tests/core/Index/TestIndexWriterUnicode.cs      | 3 ++-
 src/Lucene.Net.Tests/core/Index/TestStressIndexing.cs          | 2 ++
 src/Lucene.Net.Tests/core/Index/TestTermsEnum.cs               | 3 ++-
 src/Lucene.Net.Tests/core/Util/TestPagedBytes.cs               | 4 ++--
 6 files changed, 13 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4d5b5018/src/Lucene.Net.Tests/core/Analysis/TestLookaheadTokenFilter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Analysis/TestLookaheadTokenFilter.cs b/src/Lucene.Net.Tests/core/Analysis/TestLookaheadTokenFilter.cs
index 04622b8..0de10e5 100644
--- a/src/Lucene.Net.Tests/core/Analysis/TestLookaheadTokenFilter.cs
+++ b/src/Lucene.Net.Tests/core/Analysis/TestLookaheadTokenFilter.cs
@@ -1,3 +1,4 @@
+using Lucene.Net.Attributes;
 using Lucene.Net.Randomized.Generators;
 using NUnit.Framework;
 using System;
@@ -25,7 +26,7 @@ namespace Lucene.Net.Analysis
     [TestFixture]
     public class TestLookaheadTokenFilter : BaseTokenStreamTestCase
     {
-        [Test]
+        [Test, LongRunningTest, Timeout(int.MaxValue)]
         public virtual void TestRandomStrings()
         {
             Analyzer a = new AnalyzerAnonymousInnerClassHelper(this);
@@ -68,7 +69,7 @@ namespace Lucene.Net.Analysis
             }
         }
 
-        [Test]
+        [Test, LongRunningTest, Timeout(int.MaxValue)]
         public virtual void TestNeverCallingPeek()
         {
             Analyzer a = new NCPAnalyzerAnonymousInnerClassHelper(this);

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4d5b5018/src/Lucene.Net.Tests/core/Analysis/TestMockAnalyzer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Analysis/TestMockAnalyzer.cs b/src/Lucene.Net.Tests/core/Analysis/TestMockAnalyzer.cs
index b784eef..9a52c52 100644
--- a/src/Lucene.Net.Tests/core/Analysis/TestMockAnalyzer.cs
+++ b/src/Lucene.Net.Tests/core/Analysis/TestMockAnalyzer.cs
@@ -1,4 +1,5 @@
 using System;
+using Lucene.Net.Attributes;
 using Lucene.Net.Documents;
 using Lucene.Net.Index;
 
@@ -228,7 +229,7 @@ namespace Lucene.Net.Analysis
 
         /// <summary>
         /// blast some random strings through differently configured tokenizers </summary>
-        [Test]
+        [Test, LongRunningTest, Timeout(int.MaxValue)]
         public virtual void TestRandomRegexps()
         {
             int iters = AtLeast(30);

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4d5b5018/src/Lucene.Net.Tests/core/Index/TestIndexWriterUnicode.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestIndexWriterUnicode.cs b/src/Lucene.Net.Tests/core/Index/TestIndexWriterUnicode.cs
index c639f37..9ee0055 100644
--- a/src/Lucene.Net.Tests/core/Index/TestIndexWriterUnicode.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestIndexWriterUnicode.cs
@@ -1,3 +1,4 @@
+using Lucene.Net.Attributes;
 using Lucene.Net.Documents;
 using Lucene.Net.Support;
 using System;
@@ -185,7 +186,7 @@ namespace Lucene.Net.Index
         }
 
         // LUCENE-510
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestRandomUnicodeStrings()
         {
             char[] buffer = new char[20];

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4d5b5018/src/Lucene.Net.Tests/core/Index/TestStressIndexing.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestStressIndexing.cs b/src/Lucene.Net.Tests/core/Index/TestStressIndexing.cs
index 2cb8922..12c2fa3 100644
--- a/src/Lucene.Net.Tests/core/Index/TestStressIndexing.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestStressIndexing.cs
@@ -1,5 +1,6 @@
 using System;
 using System.Threading;
+using Lucene.Net.Attributes;
 using Lucene.Net.Documents;
 
 namespace Lucene.Net.Index
@@ -200,6 +201,7 @@ namespace Lucene.Net.Index
         */
 
         [Test]
+        [LongRunningTest]
         public virtual void TestStressIndexAndSearching()
         {
             Directory directory = NewDirectory();

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4d5b5018/src/Lucene.Net.Tests/core/Index/TestTermsEnum.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestTermsEnum.cs b/src/Lucene.Net.Tests/core/Index/TestTermsEnum.cs
index 8a7ca1a..6790130 100644
--- a/src/Lucene.Net.Tests/core/Index/TestTermsEnum.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestTermsEnum.cs
@@ -1,6 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Diagnostics;
+using Lucene.Net.Attributes;
 using Lucene.Net.Documents;
 using Lucene.Net.Search;
 
@@ -225,7 +226,7 @@ namespace Lucene.Net.Index
         }
 
         // Tests Terms.intersect
-        [Test]
+        [Test, LongRunningTest, Timeout(int.MaxValue)]
         public virtual void TestIntersectRandom()
         {
             Directory dir = NewDirectory();

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4d5b5018/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 d455349..7e63c67 100644
--- a/src/Lucene.Net.Tests/core/Util/TestPagedBytes.cs
+++ b/src/Lucene.Net.Tests/core/Util/TestPagedBytes.cs
@@ -37,7 +37,7 @@ namespace Lucene.Net.Util
         // Writes random byte/s to "normal" file in dir, then
         // copies into PagedBytes and verifies with
         // PagedBytes.Reader:
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestDataInputOutput()
         {
             Random random = Random();
@@ -114,7 +114,7 @@ namespace Lucene.Net.Util
         // Writes random byte/s into PagedBytes via
         // .getDataOutput(), then verifies with
         // PagedBytes.getDataInput():
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestDataInputOutput2()
         {
             Random random = Random();


Mime
View raw message