lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [lucenenet] 09/12: SWEEP: Made all tests 5 seconds or over into long running tests, and removed the attribute from tests that are now performing better than they used to
Date Thu, 11 Jul 2019 15:43:04 GMT
This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit f7a6a264e463fa889046346d2f183c836e4da5b7
Author: Shad Storhaug <shad@shadstorhaug.com>
AuthorDate: Thu Jul 11 16:36:45 2019 +0700

    SWEEP: Made all tests 5 seconds or over into long running tests, and removed the attribute from tests that are now performing better than they used to
---
 .../Index/BaseStoredFieldsFormatTestCase.cs              |  2 +-
 .../Index/BaseTermVectorsFormatTestCase.cs               |  2 +-
 .../Util/BaseDocIdSetTestCase.cs                         |  3 +--
 .../Analysis/CharFilters/TestMappingCharFilter.cs        |  2 +-
 .../Analysis/Core/TestAnalyzers.cs                       |  3 ++-
 .../Analysis/Core/TestBugInSomething.cs                  |  3 ++-
 .../Analysis/Core/TestFactories.cs                       |  3 ++-
 .../Miscellaneous/TestRemoveDuplicatesTokenFilter.cs     |  3 ++-
 .../Analysis/Miscellaneous/TestWordDelimiterFilter.cs    |  3 ++-
 .../Analysis/NGram/EdgeNGramTokenFilterTest.cs           |  3 ++-
 .../Analysis/NGram/EdgeNGramTokenizerTest.cs             |  5 +++--
 .../Analysis/NGram/NGramTokenFilterTest.cs               |  3 ++-
 .../Analysis/NGram/NGramTokenizerTest.cs                 |  5 +++--
 .../Analysis/Pattern/TestPatternReplaceCharFilter.cs     |  5 +++--
 .../Analysis/Shingle/ShingleFilterTest.cs                |  3 ++-
 .../Analysis/Snowball/TestSnowball.cs                    |  2 +-
 .../Analysis/Snowball/TestSnowballVocab.cs               |  3 ++-
 .../Analysis/Util/TestRollingCharBuffer.cs               |  3 ++-
 .../TestJapaneseTokenizer.cs                             |  4 ++--
 .../Language/Bm/PhoneticEnginePerformanceTest.cs         |  5 +++--
 .../TestPhoneticFilter.cs                                |  3 ++-
 .../TestSmartChineseAnalyzer.cs                          |  3 ++-
 .../ByTask/TestPerfTasksLogic.cs                         |  3 ++-
 .../SimpleText/TestSimpleTextPostingsFormat.cs           |  7 ++++---
 .../Taxonomy/TestSearcherTaxonomyManager.cs              |  5 +++--
 .../Taxonomy/TestTaxonomyCombined.cs                     |  5 +++--
 .../Taxonomy/WriterCache/TestCharBlockArray.cs           |  5 +++--
 .../Suggest/Analyzing/AnalyzingInfixSuggesterTest.cs     |  3 ++-
 .../Suggest/Analyzing/FuzzySuggesterTest.cs              |  3 ++-
 src/Lucene.Net.Tests/Analysis/TestGraphTokenizers.cs     |  9 +++++----
 .../Codecs/Lucene3x/TestLucene3xTermVectorsFormat.cs     |  2 +-
 src/Lucene.Net.Tests/Codecs/Lucene3x/TestSurrogates.cs   |  2 +-
 .../Codecs/Lucene40/TestLucene40StoredFieldsFormat.cs    |  6 +++---
 .../Codecs/Lucene40/TestLucene40TermVectorsFormat.cs     |  2 +-
 .../Codecs/Lucene41/TestLucene41StoredFieldsFormat.cs    |  4 ++--
 .../Codecs/PerField/TestPerFieldDocValuesFormat.cs       |  2 +-
 src/Lucene.Net.Tests/Index/Test2BBinaryDocValues.cs      |  4 ++--
 src/Lucene.Net.Tests/Index/Test2BNumericDocValues.cs     |  2 +-
 src/Lucene.Net.Tests/Index/Test2BPositions.cs            |  2 +-
 src/Lucene.Net.Tests/Index/Test2BPostings.cs             |  2 +-
 src/Lucene.Net.Tests/Index/Test2BPostingsBytes.cs        |  2 +-
 src/Lucene.Net.Tests/Index/Test2BSortedDocValues.cs      |  4 ++--
 src/Lucene.Net.Tests/Index/Test2BTerms.cs                |  2 +-
 src/Lucene.Net.Tests/Index/Test4GBStoredFields.cs        |  2 +-
 src/Lucene.Net.Tests/Index/TestAtomicUpdate.cs           |  2 +-
 src/Lucene.Net.Tests/Index/TestBackwardsCompatibility.cs |  3 ++-
 src/Lucene.Net.Tests/Index/TestByteSlices.cs             |  2 +-
 .../Index/TestConcurrentMergeScheduler.cs                |  9 +++++----
 src/Lucene.Net.Tests/Index/TestDeletionPolicy.cs         |  2 +-
 src/Lucene.Net.Tests/Index/TestDocTermOrds.cs            |  2 +-
 src/Lucene.Net.Tests/Index/TestDuelingCodecs.cs          |  2 +-
 src/Lucene.Net.Tests/Index/TestIndexWriterExceptions.cs  | 16 +++++++++++-----
 src/Lucene.Net.Tests/Index/TestIndexWriterMerging.cs     |  4 ++--
 src/Lucene.Net.Tests/Index/TestIndexWriterReader.cs      |  6 +++---
 src/Lucene.Net.Tests/Index/TestIndexWriterUnicode.cs     |  2 +-
 src/Lucene.Net.Tests/Index/TestIndexWriterWithThreads.cs |  4 ++--
 src/Lucene.Net.Tests/Index/TestIntBlockPool.cs           |  3 ++-
 src/Lucene.Net.Tests/Index/TestMixedDocValuesUpdates.cs  |  2 +-
 src/Lucene.Net.Tests/Index/TestStoredFieldsFormat.cs     |  2 +-
 src/Lucene.Net.Tests/Index/TestStressNRT.cs              |  3 ++-
 src/Lucene.Net.Tests/Index/TestTermsEnum.cs              |  2 +-
 src/Lucene.Net.Tests/Search/TestAutomatonQuery.cs        |  2 +-
 .../Search/TestControlledRealTimeReopenThread.cs         |  2 +-
 .../Search/TestFieldCacheRewriteMethod.cs                |  2 +-
 src/Lucene.Net.Tests/Search/TestNumericRangeQuery64.cs   |  2 +-
 src/Lucene.Net.Tests/Search/TestSearcherManager.cs       |  2 +-
 src/Lucene.Net.Tests/Store/TestDirectory.cs              |  4 ++--
 src/Lucene.Net.Tests/Store/TestLockFactory.cs            |  4 ++--
 src/Lucene.Net.Tests/Store/TestMultiMMap.cs              |  4 ++--
 src/Lucene.Net.Tests/Support/TestLurchTableThreading.cs  |  2 +-
 src/Lucene.Net.Tests/Support/TestWeakDictionary.cs       |  2 +-
 .../Support/TestWeakDictionaryBehavior.cs                |  2 +-
 .../Util/Packed/TestEliasFanoSequence.cs                 |  2 +-
 src/Lucene.Net.Tests/Util/TestBroadWord.cs               |  3 ++-
 src/Lucene.Net.Tests/Util/TestCollectionUtil.cs          |  3 ++-
 src/Lucene.Net.Tests/Util/TestFixedBitSet.cs             |  2 +-
 src/Lucene.Net.Tests/Util/TestLongBitSet.cs              |  2 +-
 src/Lucene.Net.Tests/Util/TestNumericUtils.cs            |  2 +-
 src/Lucene.Net.Tests/Util/TestPagedBytes.cs              |  3 +--
 src/Lucene.Net.Tests/Util/TestWeakIdentityMap.cs         |  4 ++--
 80 files changed, 149 insertions(+), 115 deletions(-)

diff --git a/src/Lucene.Net.TestFramework/Index/BaseStoredFieldsFormatTestCase.cs b/src/Lucene.Net.TestFramework/Index/BaseStoredFieldsFormatTestCase.cs
index d4b6333..6261fe2 100644
--- a/src/Lucene.Net.TestFramework/Index/BaseStoredFieldsFormatTestCase.cs
+++ b/src/Lucene.Net.TestFramework/Index/BaseStoredFieldsFormatTestCase.cs
@@ -673,7 +673,7 @@ namespace Lucene.Net.Index
             dir.Dispose();
         }
 
-        // [Test, LongRunningTest, Timeout(int.MaxValue)] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+        // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
         public virtual void TestBigDocuments()
         {
             // "big" as "much bigger than the chunk size"
diff --git a/src/Lucene.Net.TestFramework/Index/BaseTermVectorsFormatTestCase.cs b/src/Lucene.Net.TestFramework/Index/BaseTermVectorsFormatTestCase.cs
index 4e07b4e..f4ca43b 100644
--- a/src/Lucene.Net.TestFramework/Index/BaseTermVectorsFormatTestCase.cs
+++ b/src/Lucene.Net.TestFramework/Index/BaseTermVectorsFormatTestCase.cs
@@ -741,7 +741,7 @@ namespace Lucene.Net.Index
             }
         }
 
-        // [Test, LongRunningTest, Timeout(int.MaxValue)] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
+        // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
         public virtual void TestLotsOfFields()
         {
             RandomDocumentFactory docFactory = new RandomDocumentFactory(this, 500, 10);
diff --git a/src/Lucene.Net.TestFramework/Util/BaseDocIdSetTestCase.cs b/src/Lucene.Net.TestFramework/Util/BaseDocIdSetTestCase.cs
index dd53435..fc71b45 100644
--- a/src/Lucene.Net.TestFramework/Util/BaseDocIdSetTestCase.cs
+++ b/src/Lucene.Net.TestFramework/Util/BaseDocIdSetTestCase.cs
@@ -122,8 +122,7 @@ namespace Lucene.Net.Util
         /// <summary>
         /// Compare the content of the set against a <seealso cref="BitSet"/>.
         /// </summary>
-        // [Test, Timeout(150000)] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
-        //[LongRunningTest]
+        // [Test] // LUCENENET NOTE: For now, we are overriding this test in every subclass to pull it into the right context for the subclass
         public virtual void TestAgainstBitSet()
         {
             int numBits = TestUtil.NextInt(Random(), 100, 1 << 20);
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/CharFilters/TestMappingCharFilter.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/CharFilters/TestMappingCharFilter.cs
index bd69269..883e2ef 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/CharFilters/TestMappingCharFilter.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/CharFilters/TestMappingCharFilter.cs
@@ -340,7 +340,7 @@ namespace Lucene.Net.Analysis.CharFilters
             return builder.Build();
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestRandomMaps2()
         {
             Random random = Random();
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Core/TestAnalyzers.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Core/TestAnalyzers.cs
index 6c0ab3c..bf18330 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Core/TestAnalyzers.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Core/TestAnalyzers.cs
@@ -1,5 +1,6 @@
 using Lucene.Net.Analysis.Standard;
 using Lucene.Net.Analysis.TokenAttributes;
+using Lucene.Net.Attributes;
 using Lucene.Net.Util;
 using NUnit.Framework;
 using System;
@@ -241,7 +242,7 @@ namespace Lucene.Net.Analysis.Core
 
         /// <summary>
         /// blast some random large strings through the analyzer </summary>
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestRandomHugeStrings()
         {
             Random random = Random();
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Core/TestBugInSomething.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Core/TestBugInSomething.cs
index 529d8b6..cee0336 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Core/TestBugInSomething.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Core/TestBugInSomething.cs
@@ -5,6 +5,7 @@ using Lucene.Net.Analysis.NGram;
 using Lucene.Net.Analysis.Shingle;
 using Lucene.Net.Analysis.Util;
 using Lucene.Net.Analysis.Wikipedia;
+using Lucene.Net.Attributes;
 using Lucene.Net.Support;
 using NUnit.Framework;
 using System;
@@ -306,7 +307,7 @@ namespace Lucene.Net.Analysis.Core
         }
 
         // LUCENE-5269
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestUnicodeShinglesAndNgrams()
         {
             Analyzer analyzer = new AnalyzerAnonymousInnerClassHelper100(this);
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Core/TestFactories.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Core/TestFactories.cs
index 9614a34..b9a87ce 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Core/TestFactories.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Core/TestFactories.cs
@@ -1,4 +1,5 @@
 using Lucene.Net.Analysis.Util;
+using Lucene.Net.Attributes;
 using Lucene.Net.Util;
 using NUnit.Framework;
 using System;
@@ -37,7 +38,7 @@ namespace Lucene.Net.Analysis.Core
     [TestFixture]
     public class TestFactories : BaseTokenStreamTestCase
     {
-        [Test]
+        [Test, LongRunningTest]
         public virtual void Test()
         {
             foreach (string tokenizer in TokenizerFactory.AvailableTokenizers)
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestRemoveDuplicatesTokenFilter.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestRemoveDuplicatesTokenFilter.cs
index 290441d..b988bfb 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestRemoveDuplicatesTokenFilter.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestRemoveDuplicatesTokenFilter.cs
@@ -10,6 +10,7 @@ using System.IO;
 using System.Text.RegularExpressions;
 using Lucene.Net.Analysis.TokenAttributes;
 using Lucene.Net.Analysis.Core;
+using Lucene.Net.Attributes;
 
 namespace Lucene.Net.Analysis.Miscellaneous
 {
@@ -136,7 +137,7 @@ namespace Lucene.Net.Analysis.Miscellaneous
 
         /// <summary>
         /// blast some random strings through the analyzer </summary>
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestRandomStrings()
         {
             int numIters = AtLeast(10);
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestWordDelimiterFilter.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestWordDelimiterFilter.cs
index df9df2b..0e9bf46 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestWordDelimiterFilter.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestWordDelimiterFilter.cs
@@ -2,6 +2,7 @@
 using Lucene.Net.Analysis.Standard;
 using Lucene.Net.Analysis.TokenAttributes;
 using Lucene.Net.Analysis.Util;
+using Lucene.Net.Attributes;
 using NUnit.Framework;
 using System;
 using System.IO;
@@ -462,7 +463,7 @@ namespace Lucene.Net.Analysis.Miscellaneous
 
         /// <summary>
         /// blast some enormous random strings through the analyzer </summary>
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestRandomHugeStrings()
         {
             int numIterations = AtLeast(5);
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/NGram/EdgeNGramTokenFilterTest.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/NGram/EdgeNGramTokenFilterTest.cs
index bfdd72e..0f37bc5 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/NGram/EdgeNGramTokenFilterTest.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/NGram/EdgeNGramTokenFilterTest.cs
@@ -2,6 +2,7 @@
 using Lucene.Net.Analysis.Miscellaneous;
 using Lucene.Net.Analysis.Shingle;
 using Lucene.Net.Analysis.TokenAttributes;
+using Lucene.Net.Attributes;
 using Lucene.Net.Support;
 using Lucene.Net.Util;
 using NUnit.Framework;
@@ -253,7 +254,7 @@ namespace Lucene.Net.Analysis.NGram
 
         /// <summary>
         /// blast some random strings through the analyzer </summary>
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestRandomStrings()
         {
             for (int i = 0; i < 10; i++)
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/NGram/EdgeNGramTokenizerTest.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/NGram/EdgeNGramTokenizerTest.cs
index b9248fb..4f17956 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/NGram/EdgeNGramTokenizerTest.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/NGram/EdgeNGramTokenizerTest.cs
@@ -1,4 +1,5 @@
-using Lucene.Net.Support;
+using Lucene.Net.Attributes;
+using Lucene.Net.Support;
 using Lucene.Net.Util;
 using NUnit.Framework;
 using System.IO;
@@ -132,7 +133,7 @@ namespace Lucene.Net.Analysis.NGram
 
         /// <summary>
         /// blast some random strings through the analyzer </summary>
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestRandomStrings()
         {
             for (int i = 0; i < 10; i++)
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/NGram/NGramTokenFilterTest.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/NGram/NGramTokenFilterTest.cs
index 5d9fee4..db6b588 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/NGram/NGramTokenFilterTest.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/NGram/NGramTokenFilterTest.cs
@@ -1,6 +1,7 @@
 using Lucene.Net.Analysis.Core;
 using Lucene.Net.Analysis.Miscellaneous;
 using Lucene.Net.Analysis.TokenAttributes;
+using Lucene.Net.Attributes;
 using Lucene.Net.Support;
 using Lucene.Net.Util;
 using NUnit.Framework;
@@ -153,7 +154,7 @@ namespace Lucene.Net.Analysis.NGram
 
         /// <summary>
         /// blast some random strings through the analyzer </summary>
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestRandomStrings()
         {
             for (int i = 0; i < 10; i++)
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/NGram/NGramTokenizerTest.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/NGram/NGramTokenizerTest.cs
index b8db76e..c7e766a 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/NGram/NGramTokenizerTest.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/NGram/NGramTokenizerTest.cs
@@ -1,4 +1,5 @@
 using Lucene.Net.Analysis.TokenAttributes;
+using Lucene.Net.Attributes;
 using Lucene.Net.Support;
 using Lucene.Net.Util;
 using NUnit.Framework;
@@ -105,7 +106,7 @@ namespace Lucene.Net.Analysis.NGram
 
         /// <summary>
         /// blast some random strings through the analyzer </summary>
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestRandomStrings()
         {
             for (int i = 0; i < 10; i++)
@@ -290,7 +291,7 @@ namespace Lucene.Net.Analysis.NGram
             TestNGrams(minGram, maxGram, new string(chrs), " ");
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestFullUTF8Range()
         {
             int minGram = TestUtil.NextInt(Random(), 1, 100);
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Pattern/TestPatternReplaceCharFilter.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Pattern/TestPatternReplaceCharFilter.cs
index 8172ea5..2fdec2b 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Pattern/TestPatternReplaceCharFilter.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Pattern/TestPatternReplaceCharFilter.cs
@@ -1,4 +1,5 @@
-using Lucene.Net.Util;
+using Lucene.Net.Attributes;
+using Lucene.Net.Util;
 using NUnit.Framework;
 using System;
 using System.IO;
@@ -246,7 +247,7 @@ namespace Lucene.Net.Analysis.Pattern
 
         /// <summary>
         /// blast some random strings through the analyzer </summary>
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestRandomStrings()
         {
             int numPatterns = 10 + Random().Next(20);
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Shingle/ShingleFilterTest.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Shingle/ShingleFilterTest.cs
index da2dc92..37c72a1 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Shingle/ShingleFilterTest.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Shingle/ShingleFilterTest.cs
@@ -1,5 +1,6 @@
 using Lucene.Net.Analysis.Core;
 using Lucene.Net.Analysis.TokenAttributes;
+using Lucene.Net.Attributes;
 using NUnit.Framework;
 using System;
 using System.IO;
@@ -532,7 +533,7 @@ namespace Lucene.Net.Analysis.Shingle
 
         /// <summary>
         /// blast some random large strings through the analyzer </summary>
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestRandomHugeStrings()
         {
             Random random = Random();
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Snowball/TestSnowball.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Snowball/TestSnowball.cs
index 7ea9af1..ea9fe93 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Snowball/TestSnowball.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Snowball/TestSnowball.cs
@@ -193,7 +193,7 @@ namespace Lucene.Net.Analysis.Snowball
             }
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestRandomStrings()
         {
             foreach (string lang in SNOWBALL_LANGS)
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Snowball/TestSnowballVocab.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Snowball/TestSnowballVocab.cs
index 01b30bf..c86297b 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Snowball/TestSnowballVocab.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Snowball/TestSnowballVocab.cs
@@ -1,4 +1,5 @@
 using Lucene.Net.Analysis.Core;
+using Lucene.Net.Attributes;
 using Lucene.Net.Util;
 using NUnit.Framework;
 using System;
@@ -32,7 +33,7 @@ namespace Lucene.Net.Analysis.Snowball
         /// <summary>
         /// Run all languages against their snowball vocabulary tests.
         /// </summary>
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestStemmers()
         {
             AssertCorrectOutput("Danish", "danish");
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestRollingCharBuffer.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestRollingCharBuffer.cs
index 9646dcb..822c252 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestRollingCharBuffer.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestRollingCharBuffer.cs
@@ -1,4 +1,5 @@
 using Lucene.Net.Analysis.Util;
+using Lucene.Net.Attributes;
 using Lucene.Net.Randomized.Generators;
 using Lucene.Net.Util;
 using NUnit.Framework;
@@ -28,7 +29,7 @@ namespace Lucene.Net.Analysis.Util
     [TestFixture]
     public class TestRollingCharBuffer : LuceneTestCase
     {
-        [Test]
+        [Test, LongRunningTest]
         public virtual void Test()
         {
             var ITERS = AtLeast(1000);
diff --git a/src/Lucene.Net.Tests.Analysis.Kuromoji/TestJapaneseTokenizer.cs b/src/Lucene.Net.Tests.Analysis.Kuromoji/TestJapaneseTokenizer.cs
index 8e9bbfc..7f832c7 100644
--- a/src/Lucene.Net.Tests.Analysis.Kuromoji/TestJapaneseTokenizer.cs
+++ b/src/Lucene.Net.Tests.Analysis.Kuromoji/TestJapaneseTokenizer.cs
@@ -205,7 +205,7 @@ namespace Lucene.Net.Analysis.Ja
         }
 
         /** blast some random large strings through the analyzer */
-        [Test]
+        [Test, LongRunningTest]
         public void TestRandomHugeStrings()
         {
             Random random = Random();
@@ -705,7 +705,7 @@ namespace Lucene.Net.Analysis.Ja
             doTestBocchan(1);
         }
 
-        [Test, LongRunningTest]//@Nightly
+        [Test]//@Nightly
         [Ignore("This test takes a long time to run - do it manually")]
         public void TestBocchanBig()
         {
diff --git a/src/Lucene.Net.Tests.Analysis.Phonetic/Language/Bm/PhoneticEnginePerformanceTest.cs b/src/Lucene.Net.Tests.Analysis.Phonetic/Language/Bm/PhoneticEnginePerformanceTest.cs
index f794637..ad0cef3 100644
--- a/src/Lucene.Net.Tests.Analysis.Phonetic/Language/Bm/PhoneticEnginePerformanceTest.cs
+++ b/src/Lucene.Net.Tests.Analysis.Phonetic/Language/Bm/PhoneticEnginePerformanceTest.cs
@@ -1,4 +1,5 @@
-using NUnit.Framework;
+using Lucene.Net.Attributes;
+using NUnit.Framework;
 using System;
 using Console = Lucene.Net.Support.SystemConsole;
 
@@ -125,7 +126,7 @@ namespace Lucene.Net.Analysis.Phonetic.Language.Bm
     {
         private static readonly int LOOP = 80000;
 
-        [Test]
+        [Test, LongRunningTest]
         public void Test()
         {
             PhoneticEngine engine = new PhoneticEngine(NameType.GENERIC, RuleType.APPROX, true);
diff --git a/src/Lucene.Net.Tests.Analysis.Phonetic/TestPhoneticFilter.cs b/src/Lucene.Net.Tests.Analysis.Phonetic/TestPhoneticFilter.cs
index 387765f..5dc0350 100644
--- a/src/Lucene.Net.Tests.Analysis.Phonetic/TestPhoneticFilter.cs
+++ b/src/Lucene.Net.Tests.Analysis.Phonetic/TestPhoneticFilter.cs
@@ -1,5 +1,6 @@
 using Lucene.Net.Analysis.Core;
 using Lucene.Net.Analysis.Phonetic.Language;
+using Lucene.Net.Attributes;
 using NUnit.Framework;
 using System;
 using System.IO;
@@ -73,7 +74,7 @@ namespace Lucene.Net.Analysis.Phonetic
         }
 
         /** blast some random strings through the analyzer */
-        [Test]
+        [Test, LongRunningTest]
         public void TestRandomStrings()
         {
             IStringEncoder[] encoders = new IStringEncoder[] {
diff --git a/src/Lucene.Net.Tests.Analysis.SmartCn/TestSmartChineseAnalyzer.cs b/src/Lucene.Net.Tests.Analysis.SmartCn/TestSmartChineseAnalyzer.cs
index bc4f3aa..f8bdf2d 100644
--- a/src/Lucene.Net.Tests.Analysis.SmartCn/TestSmartChineseAnalyzer.cs
+++ b/src/Lucene.Net.Tests.Analysis.SmartCn/TestSmartChineseAnalyzer.cs
@@ -1,5 +1,6 @@
 using Lucene.Net.Analysis.Core;
 using Lucene.Net.Analysis.Miscellaneous;
+using Lucene.Net.Attributes;
 using Lucene.Net.Util;
 using NUnit.Framework;
 using System;
@@ -330,7 +331,7 @@ namespace Lucene.Net.Analysis.Cn.Smart
         }
 
         /** blast some random large strings through the analyzer */
-        [Test]
+        [Test, LongRunningTest]
         public void TestRandomHugeStrings()
         {
             Random random = Random();
diff --git a/src/Lucene.Net.Tests.Benchmark/ByTask/TestPerfTasksLogic.cs b/src/Lucene.Net.Tests.Benchmark/ByTask/TestPerfTasksLogic.cs
index a658026..c3b3ea8 100644
--- a/src/Lucene.Net.Tests.Benchmark/ByTask/TestPerfTasksLogic.cs
+++ b/src/Lucene.Net.Tests.Benchmark/ByTask/TestPerfTasksLogic.cs
@@ -1,6 +1,7 @@
 using Icu.Collation;
 using Lucene.Net.Analysis;
 using Lucene.Net.Analysis.TokenAttributes;
+using Lucene.Net.Attributes;
 using Lucene.Net.Benchmarks.ByTask.Feeds;
 using Lucene.Net.Benchmarks.ByTask.Stats;
 using Lucene.Net.Benchmarks.ByTask.Tasks;
@@ -122,7 +123,7 @@ namespace Lucene.Net.Benchmarks.ByTask
 
         // disabled until we fix BG thread prio -- this test
         // causes build to hang
-        [Test]
+        [Test, LongRunningTest]
         public void TestBGSearchTaskThreads()
         {
             String[] algLines = {
diff --git a/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextPostingsFormat.cs b/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextPostingsFormat.cs
index 96e6cb8..33ee583 100644
--- a/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextPostingsFormat.cs
+++ b/src/Lucene.Net.Tests.Codecs/SimpleText/TestSimpleTextPostingsFormat.cs
@@ -1,4 +1,5 @@
-using Lucene.Net.Index;
+using Lucene.Net.Attributes;
+using Lucene.Net.Index;
 using NUnit.Framework;
 
 namespace Lucene.Net.Codecs.SimpleText
@@ -59,13 +60,13 @@ namespace Lucene.Net.Codecs.SimpleText
             base.TestDocsAndFreqsAndPositions();
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public override void TestDocsAndFreqsAndPositionsAndPayloads()
         {
             base.TestDocsAndFreqsAndPositionsAndPayloads();
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public override void TestDocsAndFreqsAndPositionsAndOffsets()
         {
             base.TestDocsAndFreqsAndPositionsAndOffsets();
diff --git a/src/Lucene.Net.Tests.Facet/Taxonomy/TestSearcherTaxonomyManager.cs b/src/Lucene.Net.Tests.Facet/Taxonomy/TestSearcherTaxonomyManager.cs
index 8085c87..1f204e8 100644
--- a/src/Lucene.Net.Tests.Facet/Taxonomy/TestSearcherTaxonomyManager.cs
+++ b/src/Lucene.Net.Tests.Facet/Taxonomy/TestSearcherTaxonomyManager.cs
@@ -1,4 +1,5 @@
-using Lucene.Net.Search;
+using Lucene.Net.Attributes;
+using Lucene.Net.Search;
 using Lucene.Net.Support;
 using Lucene.Net.Support.Threading;
 using NUnit.Framework;
@@ -255,7 +256,7 @@ namespace Lucene.Net.Facet.Taxonomy
         }
 
         
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestDirectory()
         {
             Store.Directory indexDir = NewDirectory();
diff --git a/src/Lucene.Net.Tests.Facet/Taxonomy/TestTaxonomyCombined.cs b/src/Lucene.Net.Tests.Facet/Taxonomy/TestTaxonomyCombined.cs
index c6419e8..81d5da3 100644
--- a/src/Lucene.Net.Tests.Facet/Taxonomy/TestTaxonomyCombined.cs
+++ b/src/Lucene.Net.Tests.Facet/Taxonomy/TestTaxonomyCombined.cs
@@ -1,4 +1,5 @@
-using Lucene.Net.Support;
+using Lucene.Net.Attributes;
+using Lucene.Net.Support;
 using Lucene.Net.Support.Threading;
 using NUnit.Framework;
 using System;
@@ -756,7 +757,7 @@ namespace Lucene.Net.Facet.Taxonomy
         }
 
         // Test that getParentArrays is valid when retrieved during refresh
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestTaxonomyReaderRefreshRaces()
         {
             // compute base child arrays - after first chunk, and after the other
diff --git a/src/Lucene.Net.Tests.Facet/Taxonomy/WriterCache/TestCharBlockArray.cs b/src/Lucene.Net.Tests.Facet/Taxonomy/WriterCache/TestCharBlockArray.cs
index 3041c2c..2e48938 100644
--- a/src/Lucene.Net.Tests.Facet/Taxonomy/WriterCache/TestCharBlockArray.cs
+++ b/src/Lucene.Net.Tests.Facet/Taxonomy/WriterCache/TestCharBlockArray.cs
@@ -1,4 +1,5 @@
-using NUnit.Framework;
+using Lucene.Net.Attributes;
+using NUnit.Framework;
 using System.IO;
 using System.Text;
 
@@ -25,7 +26,7 @@ namespace Lucene.Net.Facet.Taxonomy.WriterCache
     public class TestCharBlockArray : FacetTestCase
     {
 
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestArray()
         {
             CharBlockArray array = new CharBlockArray();
diff --git a/src/Lucene.Net.Tests.Suggest/Suggest/Analyzing/AnalyzingInfixSuggesterTest.cs b/src/Lucene.Net.Tests.Suggest/Suggest/Analyzing/AnalyzingInfixSuggesterTest.cs
index d60fbf2..7718275 100644
--- a/src/Lucene.Net.Tests.Suggest/Suggest/Analyzing/AnalyzingInfixSuggesterTest.cs
+++ b/src/Lucene.Net.Tests.Suggest/Suggest/Analyzing/AnalyzingInfixSuggesterTest.cs
@@ -2,6 +2,7 @@
 using Lucene.Net.Analysis.Core;
 using Lucene.Net.Analysis.TokenAttributes;
 using Lucene.Net.Analysis.Util;
+using Lucene.Net.Attributes;
 using Lucene.Net.Support;
 using Lucene.Net.Support.Threading;
 using Lucene.Net.Util;
@@ -638,7 +639,7 @@ namespace Lucene.Net.Search.Suggest.Analyzing
             }
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public void TestRandomNRT()
         {
             DirectoryInfo tempDir = CreateTempDir("AnalyzingInfixSuggesterTest");
diff --git a/src/Lucene.Net.Tests.Suggest/Suggest/Analyzing/FuzzySuggesterTest.cs b/src/Lucene.Net.Tests.Suggest/Suggest/Analyzing/FuzzySuggesterTest.cs
index 29e73ca..a3ed037 100644
--- a/src/Lucene.Net.Tests.Suggest/Suggest/Analyzing/FuzzySuggesterTest.cs
+++ b/src/Lucene.Net.Tests.Suggest/Suggest/Analyzing/FuzzySuggesterTest.cs
@@ -1,5 +1,6 @@
 using Lucene.Net.Analysis;
 using Lucene.Net.Analysis.TokenAttributes;
+using Lucene.Net.Attributes;
 using Lucene.Net.Support;
 using Lucene.Net.Util;
 using Lucene.Net.Util.Automaton;
@@ -712,7 +713,7 @@ namespace Lucene.Net.Search.Suggest.Analyzing
             }
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public void TestRandom()
         {
 
diff --git a/src/Lucene.Net.Tests/Analysis/TestGraphTokenizers.cs b/src/Lucene.Net.Tests/Analysis/TestGraphTokenizers.cs
index 53bcbeb..ff98a11 100644
--- a/src/Lucene.Net.Tests/Analysis/TestGraphTokenizers.cs
+++ b/src/Lucene.Net.Tests/Analysis/TestGraphTokenizers.cs
@@ -1,4 +1,5 @@
 using Lucene.Net.Analysis.TokenAttributes;
+using Lucene.Net.Attributes;
 using Lucene.Net.Support;
 using NUnit.Framework;
 using System;
@@ -379,7 +380,7 @@ namespace Lucene.Net.Analysis
             }
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestMockGraphTokenFilterRandom()
         {
             for (int iter = 0; iter < 10 * RANDOM_MULTIPLIER; iter++)
@@ -416,7 +417,7 @@ namespace Lucene.Net.Analysis
         }
 
         // Two MockGraphTokenFilters
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestDoubleMockGraphTokenFilterRandom()
         {
             for (int iter = 0; iter < 10 * RANDOM_MULTIPLIER; iter++)
@@ -460,7 +461,7 @@ namespace Lucene.Net.Analysis
             }
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestMockGraphTokenFilterBeforeHolesRandom()
         {
             for (int iter = 0; iter < 10 * RANDOM_MULTIPLIER; iter++)
@@ -497,7 +498,7 @@ namespace Lucene.Net.Analysis
             }
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestMockGraphTokenFilterAfterHolesRandom()
         {
             for (int iter = 0; iter < 10 * RANDOM_MULTIPLIER; iter++)
diff --git a/src/Lucene.Net.Tests/Codecs/Lucene3x/TestLucene3xTermVectorsFormat.cs b/src/Lucene.Net.Tests/Codecs/Lucene3x/TestLucene3xTermVectorsFormat.cs
index 83a165a..c1a09de 100644
--- a/src/Lucene.Net.Tests/Codecs/Lucene3x/TestLucene3xTermVectorsFormat.cs
+++ b/src/Lucene.Net.Tests/Codecs/Lucene3x/TestLucene3xTermVectorsFormat.cs
@@ -72,7 +72,7 @@ namespace Lucene.Net.Codecs.Lucene3x
             base.TestLotsOfFields();
         }
 
-        [Test, LongRunningTest]
+        [Test]
         // different options for the same field
         public override void TestMixedOptions()
         {
diff --git a/src/Lucene.Net.Tests/Codecs/Lucene3x/TestSurrogates.cs b/src/Lucene.Net.Tests/Codecs/Lucene3x/TestSurrogates.cs
index 1272ea7..f056674 100644
--- a/src/Lucene.Net.Tests/Codecs/Lucene3x/TestSurrogates.cs
+++ b/src/Lucene.Net.Tests/Codecs/Lucene3x/TestSurrogates.cs
@@ -340,7 +340,7 @@ namespace Lucene.Net.Codecs.Lucene3x
             }
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestSurrogatesOrder()
         {
             Directory dir = NewDirectory();
diff --git a/src/Lucene.Net.Tests/Codecs/Lucene40/TestLucene40StoredFieldsFormat.cs b/src/Lucene.Net.Tests/Codecs/Lucene40/TestLucene40StoredFieldsFormat.cs
index 084dfa2..8344873 100644
--- a/src/Lucene.Net.Tests/Codecs/Lucene40/TestLucene40StoredFieldsFormat.cs
+++ b/src/Lucene.Net.Tests/Codecs/Lucene40/TestLucene40StoredFieldsFormat.cs
@@ -83,13 +83,13 @@ namespace Lucene.Net.Codecs.Lucene40
             base.TestReadSkip();
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public override void TestEmptyDocs()
         {
             base.TestEmptyDocs();
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public override void TestConcurrentReads()
         {
             base.TestConcurrentReads();
@@ -101,7 +101,7 @@ namespace Lucene.Net.Codecs.Lucene40
             base.TestWriteReadMerge();
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public override void TestBigDocuments()
         {
             base.TestBigDocuments();
diff --git a/src/Lucene.Net.Tests/Codecs/Lucene40/TestLucene40TermVectorsFormat.cs b/src/Lucene.Net.Tests/Codecs/Lucene40/TestLucene40TermVectorsFormat.cs
index 2534902..722578c 100644
--- a/src/Lucene.Net.Tests/Codecs/Lucene40/TestLucene40TermVectorsFormat.cs
+++ b/src/Lucene.Net.Tests/Codecs/Lucene40/TestLucene40TermVectorsFormat.cs
@@ -64,7 +64,7 @@ namespace Lucene.Net.Codecs.Lucene40
             base.TestLotsOfFields();
         }
 
-        [Test, LongRunningTest]
+        [Test]
         // different options for the same field
         public override void TestMixedOptions()
         {
diff --git a/src/Lucene.Net.Tests/Codecs/Lucene41/TestLucene41StoredFieldsFormat.cs b/src/Lucene.Net.Tests/Codecs/Lucene41/TestLucene41StoredFieldsFormat.cs
index 19dda6d..472a14b 100644
--- a/src/Lucene.Net.Tests/Codecs/Lucene41/TestLucene41StoredFieldsFormat.cs
+++ b/src/Lucene.Net.Tests/Codecs/Lucene41/TestLucene41StoredFieldsFormat.cs
@@ -83,13 +83,13 @@ namespace Lucene.Net.Codecs.Lucene41
             base.TestReadSkip();
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public override void TestEmptyDocs()
         {
             base.TestEmptyDocs();
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public override void TestConcurrentReads()
         {
             base.TestConcurrentReads();
diff --git a/src/Lucene.Net.Tests/Codecs/PerField/TestPerFieldDocValuesFormat.cs b/src/Lucene.Net.Tests/Codecs/PerField/TestPerFieldDocValuesFormat.cs
index b98564f..573becd 100644
--- a/src/Lucene.Net.Tests/Codecs/PerField/TestPerFieldDocValuesFormat.cs
+++ b/src/Lucene.Net.Tests/Codecs/PerField/TestPerFieldDocValuesFormat.cs
@@ -542,7 +542,7 @@ namespace Lucene.Net.Codecs.PerField
             base.TestSortedSetFixedLengthVsUninvertedField();
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public override void TestSortedSetVariableLengthVsUninvertedField()
         {
             base.TestSortedSetVariableLengthVsUninvertedField();
diff --git a/src/Lucene.Net.Tests/Index/Test2BBinaryDocValues.cs b/src/Lucene.Net.Tests/Index/Test2BBinaryDocValues.cs
index 4e2d570..b803f22 100644
--- a/src/Lucene.Net.Tests/Index/Test2BBinaryDocValues.cs
+++ b/src/Lucene.Net.Tests/Index/Test2BBinaryDocValues.cs
@@ -40,7 +40,7 @@ namespace Lucene.Net.Index
     public class Test2BBinaryDocValues : LuceneTestCase
     {
         // indexes Integer.MAX_VALUE docs with a fixed binary field
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestFixedBinary([ValueSource(typeof(ConcurrentMergeSchedulerFactories), "Values")]Func<IConcurrentMergeScheduler> newScheduler)
         {
             BaseDirectoryWrapper dir = NewFSDirectory(CreateTempDir("2BFixedBinary"));
@@ -106,7 +106,7 @@ namespace Lucene.Net.Index
         }
 
         // indexes Integer.MAX_VALUE docs with a variable binary field
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestVariableBinary([ValueSource(typeof(ConcurrentMergeSchedulerFactories), "Values")]Func<IConcurrentMergeScheduler> newScheduler)
         {
             BaseDirectoryWrapper dir = NewFSDirectory(CreateTempDir("2BVariableBinary"));
diff --git a/src/Lucene.Net.Tests/Index/Test2BNumericDocValues.cs b/src/Lucene.Net.Tests/Index/Test2BNumericDocValues.cs
index d9962e3..c8977c6 100644
--- a/src/Lucene.Net.Tests/Index/Test2BNumericDocValues.cs
+++ b/src/Lucene.Net.Tests/Index/Test2BNumericDocValues.cs
@@ -38,7 +38,7 @@ namespace Lucene.Net.Index
     public class Test2BNumericDocValues : LuceneTestCase
     {
         // indexes Integer.MAX_VALUE docs with an increasing dv field
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestNumerics([ValueSource(typeof(ConcurrentMergeSchedulerFactories), "Values")]Func<IConcurrentMergeScheduler> newScheduler)
         {
             BaseDirectoryWrapper dir = NewFSDirectory(CreateTempDir("2BNumerics"));
diff --git a/src/Lucene.Net.Tests/Index/Test2BPositions.cs b/src/Lucene.Net.Tests/Index/Test2BPositions.cs
index 73d9244..d3c23e0 100644
--- a/src/Lucene.Net.Tests/Index/Test2BPositions.cs
+++ b/src/Lucene.Net.Tests/Index/Test2BPositions.cs
@@ -52,7 +52,7 @@ namespace Lucene.Net.Index
     // uses lots of space and takes a few minutes
     {
         [Ignore("Very slow. Enable manually by removing Ignore.")]
-        [Test, LongRunningTest]
+        [Test]
         public virtual void Test([ValueSource(typeof(ConcurrentMergeSchedulerFactories), "Values")]Func<IConcurrentMergeScheduler> newScheduler)
         {
             BaseDirectoryWrapper dir = NewFSDirectory(CreateTempDir("2BPositions"));
diff --git a/src/Lucene.Net.Tests/Index/Test2BPostings.cs b/src/Lucene.Net.Tests/Index/Test2BPostings.cs
index 05716d7..f70bbdf 100644
--- a/src/Lucene.Net.Tests/Index/Test2BPostings.cs
+++ b/src/Lucene.Net.Tests/Index/Test2BPostings.cs
@@ -46,7 +46,7 @@ namespace Lucene.Net.Index
     public class Test2BPostings : LuceneTestCase
     {
         [Ignore("Very slow. Enable manually by removing Ignore.")]
-        [Test, LongRunningTest]
+        [Test]
         public virtual void Test([ValueSource(typeof(ConcurrentMergeSchedulerFactories), "Values")]Func<IConcurrentMergeScheduler> newScheduler)
         {
             BaseDirectoryWrapper dir = NewFSDirectory(CreateTempDir("2BPostings"));
diff --git a/src/Lucene.Net.Tests/Index/Test2BPostingsBytes.cs b/src/Lucene.Net.Tests/Index/Test2BPostingsBytes.cs
index a111b3d..6fccf8c 100644
--- a/src/Lucene.Net.Tests/Index/Test2BPostingsBytes.cs
+++ b/src/Lucene.Net.Tests/Index/Test2BPostingsBytes.cs
@@ -53,7 +53,7 @@ namespace Lucene.Net.Index
     // with some codecs needs more heap space as well.
     {
         [Ignore("Very slow. Enable manually by removing Ignore.")]
-        [Test, LongRunningTest]
+        [Test]
         public virtual void Test([ValueSource(typeof(ConcurrentMergeSchedulerFactories), "Values")]Func<IConcurrentMergeScheduler> newScheduler)
         {
             BaseDirectoryWrapper dir = NewFSDirectory(CreateTempDir("2BPostingsBytes1"));
diff --git a/src/Lucene.Net.Tests/Index/Test2BSortedDocValues.cs b/src/Lucene.Net.Tests/Index/Test2BSortedDocValues.cs
index 855a54b..b9605c8 100644
--- a/src/Lucene.Net.Tests/Index/Test2BSortedDocValues.cs
+++ b/src/Lucene.Net.Tests/Index/Test2BSortedDocValues.cs
@@ -38,7 +38,7 @@ namespace Lucene.Net.Index
     public class Test2BSortedDocValues : LuceneTestCase
     {
         // indexes Integer.MAX_VALUE docs with a fixed binary field
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestFixedSorted([ValueSource(typeof(ConcurrentMergeSchedulerFactories), "Values")]Func<IConcurrentMergeScheduler> newScheduler)
         {
             BaseDirectoryWrapper dir = NewFSDirectory(CreateTempDir("2BFixedSorted"));
@@ -100,7 +100,7 @@ namespace Lucene.Net.Index
         }
 
         // indexes Integer.MAX_VALUE docs with a fixed binary field
-        [Test, LongRunningTest]
+        [Test]
         public virtual void Test2BOrds([ValueSource(typeof(ConcurrentMergeSchedulerFactories), "Values")]Func<IConcurrentMergeScheduler> newScheduler)
         {
             BaseDirectoryWrapper dir = NewFSDirectory(CreateTempDir("2BOrds"));
diff --git a/src/Lucene.Net.Tests/Index/Test2BTerms.cs b/src/Lucene.Net.Tests/Index/Test2BTerms.cs
index 5f9b77f..540f89f 100644
--- a/src/Lucene.Net.Tests/Index/Test2BTerms.cs
+++ b/src/Lucene.Net.Tests/Index/Test2BTerms.cs
@@ -169,7 +169,7 @@ namespace Lucene.Net.Index
         }
 
         [Ignore("Very slow. Enable manually by removing Ignore.")]
-        [Test, LongRunningTest]
+        [Test]
         public virtual void Test2BTerms_Mem([ValueSource(typeof(ConcurrentMergeSchedulerFactories), "Values")]Func<IConcurrentMergeScheduler> newScheduler)
         {
             if ("Lucene3x".Equals(Codec.Default.Name))
diff --git a/src/Lucene.Net.Tests/Index/Test4GBStoredFields.cs b/src/Lucene.Net.Tests/Index/Test4GBStoredFields.cs
index c8081ab..f541f9d 100644
--- a/src/Lucene.Net.Tests/Index/Test4GBStoredFields.cs
+++ b/src/Lucene.Net.Tests/Index/Test4GBStoredFields.cs
@@ -43,7 +43,7 @@ namespace Lucene.Net.Index
     public class Test4GBStoredFields : LuceneTestCase
     {
         [Ignore("//LUCENENET NOTE: This was marked Nightly in Java")]
-        [Test, LongRunningTest]
+        [Test]
         public virtual void Test([ValueSource(typeof(ConcurrentMergeSchedulerFactories), "Values")]Func<IConcurrentMergeScheduler> newScheduler)
         {
             MockDirectoryWrapper dir = new MockDirectoryWrapper(Random(), new MMapDirectory(CreateTempDir("4GBStoredFields")));
diff --git a/src/Lucene.Net.Tests/Index/TestAtomicUpdate.cs b/src/Lucene.Net.Tests/Index/TestAtomicUpdate.cs
index a1759f3..b7e8605 100644
--- a/src/Lucene.Net.Tests/Index/TestAtomicUpdate.cs
+++ b/src/Lucene.Net.Tests/Index/TestAtomicUpdate.cs
@@ -195,7 +195,7 @@ namespace Lucene.Net.Index
           FSDirectory.
         */
 
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestAtomicUpdates()
         {
             Directory directory;
diff --git a/src/Lucene.Net.Tests/Index/TestBackwardsCompatibility.cs b/src/Lucene.Net.Tests/Index/TestBackwardsCompatibility.cs
index 3e78241..eb4c0d1 100644
--- a/src/Lucene.Net.Tests/Index/TestBackwardsCompatibility.cs
+++ b/src/Lucene.Net.Tests/Index/TestBackwardsCompatibility.cs
@@ -9,6 +9,7 @@ using System.Linq;
 using System.Reflection;
 using System.Text;
 using Console = Lucene.Net.Support.SystemConsole;
+using Lucene.Net.Attributes;
 
 namespace Lucene.Net.Index
 {
@@ -944,7 +945,7 @@ namespace Lucene.Net.Index
             }
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestCommandLineArgs()
         {
 
diff --git a/src/Lucene.Net.Tests/Index/TestByteSlices.cs b/src/Lucene.Net.Tests/Index/TestByteSlices.cs
index 71d170f..f636943 100644
--- a/src/Lucene.Net.Tests/Index/TestByteSlices.cs
+++ b/src/Lucene.Net.Tests/Index/TestByteSlices.cs
@@ -30,7 +30,7 @@ namespace Lucene.Net.Index
     [TestFixture]
     public class TestByteSlices : LuceneTestCase
     {
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestBasic()
         {
             // LUCENENET specific: NUnit will crash with an OOM if we do the full test
diff --git a/src/Lucene.Net.Tests/Index/TestConcurrentMergeScheduler.cs b/src/Lucene.Net.Tests/Index/TestConcurrentMergeScheduler.cs
index 28d13e1..5920f38 100644
--- a/src/Lucene.Net.Tests/Index/TestConcurrentMergeScheduler.cs
+++ b/src/Lucene.Net.Tests/Index/TestConcurrentMergeScheduler.cs
@@ -76,7 +76,7 @@ namespace Lucene.Net.Index
                     // to each possible target of the StackTraceHelper. If these change, so must the attribute on the target methods.
                     bool isDoFlush = Util.StackTraceHelper.DoesStackTraceContainMethod("Flush");
                     bool isClose = Util.StackTraceHelper.DoesStackTraceContainMethod("Close") ||
-                        Util.StackTraceHelper.DoesStackTraceContainMethod("Dispose");    
+                        Util.StackTraceHelper.DoesStackTraceContainMethod("Dispose");
 
                     if (isDoFlush && !isClose && Random().NextBoolean())
                     {
@@ -202,7 +202,7 @@ namespace Lucene.Net.Index
             directory.Dispose();
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestNoExtraFiles()
         {
             Directory directory = NewDirectory();
@@ -234,7 +234,7 @@ namespace Lucene.Net.Index
             directory.Dispose();
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestNoWaitClose()
         {
             Directory directory = NewDirectory();
@@ -399,7 +399,7 @@ namespace Lucene.Net.Index
             }
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestTotalBytesSize()
         {
             Directory d = NewDirectory();
@@ -432,6 +432,7 @@ namespace Lucene.Net.Index
             d.Dispose();
         }
 
+
         // LUCENENET specific
         private class FailOnlyOnMerge : MockDirectoryWrapper.Failure
         {
diff --git a/src/Lucene.Net.Tests/Index/TestDeletionPolicy.cs b/src/Lucene.Net.Tests/Index/TestDeletionPolicy.cs
index 306dcaf..b501f56 100644
--- a/src/Lucene.Net.Tests/Index/TestDeletionPolicy.cs
+++ b/src/Lucene.Net.Tests/Index/TestDeletionPolicy.cs
@@ -668,7 +668,7 @@ namespace Lucene.Net.Index
          * around, through creates.
          */
 
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestKeepLastNDeletionPolicyWithCreates()
         {
             const int N = 10;
diff --git a/src/Lucene.Net.Tests/Index/TestDocTermOrds.cs b/src/Lucene.Net.Tests/Index/TestDocTermOrds.cs
index 7b4129a..c302a42 100644
--- a/src/Lucene.Net.Tests/Index/TestDocTermOrds.cs
+++ b/src/Lucene.Net.Tests/Index/TestDocTermOrds.cs
@@ -196,7 +196,7 @@ namespace Lucene.Net.Index
             dir.Dispose();
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestRandomWithPrefix()
         {
             Directory dir = NewDirectory();
diff --git a/src/Lucene.Net.Tests/Index/TestDuelingCodecs.cs b/src/Lucene.Net.Tests/Index/TestDuelingCodecs.cs
index 55c0b11..e5deab9 100644
--- a/src/Lucene.Net.Tests/Index/TestDuelingCodecs.cs
+++ b/src/Lucene.Net.Tests/Index/TestDuelingCodecs.cs
@@ -171,7 +171,7 @@ namespace Lucene.Net.Index
         /// <summary>
         /// checks the two indexes are equivalent
         /// </summary>
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestEquals()
         {
             AssertReaderEquals(Info, LeftReader, RightReader);
diff --git a/src/Lucene.Net.Tests/Index/TestIndexWriterExceptions.cs b/src/Lucene.Net.Tests/Index/TestIndexWriterExceptions.cs
index 09bc75a..3823b57 100644
--- a/src/Lucene.Net.Tests/Index/TestIndexWriterExceptions.cs
+++ b/src/Lucene.Net.Tests/Index/TestIndexWriterExceptions.cs
@@ -1108,7 +1108,7 @@ namespace Lucene.Net.Index
         }
 
         // LUCENE-1044: test exception during sync
-        [Test, LongRunningTest] // LUCENENET TODO: Can this test be optimized to run faster on .NET Core 1.0?
+        [Test] // LUCENENET TODO: Can this test be optimized to run faster on .NET Core 1.0?
         public virtual void TestExceptionDuringSync([ValueSource(typeof(ConcurrentMergeSchedulerFactories), "Values")]Func<IConcurrentMergeScheduler> newScheduler)
         {
             MockDirectoryWrapper dir = NewMockDirectory();
@@ -1193,7 +1193,7 @@ namespace Lucene.Net.Index
             }
         }
 
-        [Test, LongRunningTest] // LUCENENET TODO: Can this test be optimized to run faster on .NET Core 1.0?
+        [Test]
         public virtual void TestExceptionsDuringCommit()
         {
             FailOnlyInCommit[] failures = new FailOnlyInCommit[] { new FailOnlyInCommit(false, FailOnlyInCommit.PREPARE_STAGE), new FailOnlyInCommit(true, FailOnlyInCommit.PREPARE_STAGE), new FailOnlyInCommit(false, FailOnlyInCommit.FINISH_STAGE) };
@@ -1615,7 +1615,7 @@ namespace Lucene.Net.Index
             dir.Dispose();
         }
 
-        [Test, LongRunningTest] // LUCENENET TODO: Can this test be optimized to run faster on .NET Core 1.0?
+        [Test]
         public virtual void TestTermVectorExceptions()
         {
             FailOnTermVectors[] failures = new FailOnTermVectors[] { new FailOnTermVectors(FailOnTermVectors.AFTER_INIT_STAGE), new FailOnTermVectors(FailOnTermVectors.INIT_STAGE) };
@@ -2210,7 +2210,10 @@ namespace Lucene.Net.Index
         // full), and then the exception stops (e.g., disk frees
         // up), so we successfully close IW or open an NRT
         // reader, we don't lose any deletes or updates:
-        [Test, LongRunningTest] // LUCENENET TODO: Can this test be optimized to run faster on .NET Core 1.0?
+#if NETSTANDARD1_6
+        [LongRunningTest] // LUCENENET TODO: Can this test be optimized to run faster on .NET Core 1.0?
+#endif
+        [Test]
         public virtual void TestNoLostDeletesOrUpdates()
         {
             int deleteCount = 0;
@@ -2596,7 +2599,10 @@ namespace Lucene.Net.Index
             }
         }
 
-        [Test, LongRunningTest] // LUCENENET TODO: Can this test be optimized to run faster on .NET Core 1.0?
+#if NETSTANDARD1_6
+        [LongRunningTest] // LUCENENET TODO: Can this test be optimized to run faster on .NET Core 1.0?
+#endif
+        [Test]
         public virtual void TestRandomExceptionDuringRollback()
         {
             // fail in random places on i/o
diff --git a/src/Lucene.Net.Tests/Index/TestIndexWriterMerging.cs b/src/Lucene.Net.Tests/Index/TestIndexWriterMerging.cs
index 884aa19..e373fea 100644
--- a/src/Lucene.Net.Tests/Index/TestIndexWriterMerging.cs
+++ b/src/Lucene.Net.Tests/Index/TestIndexWriterMerging.cs
@@ -235,7 +235,7 @@ namespace Lucene.Net.Index
 
         // LUCENE-325: test forceMergeDeletes without waiting, when
         // many adjacent merges are required
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestForceMergeDeletes3()
         {
             Directory dir = NewDirectory();
@@ -350,7 +350,7 @@ namespace Lucene.Net.Index
             dir.Dispose();
         }
 
-        [Test, LongRunningTest] // LUCENENET TODO: Can this test be optimized to run faster on .NET Core 1.0?
+        [Test, LongRunningTest]
         public virtual void TestNoWaitClose()
         {
             Directory directory = NewDirectory();
diff --git a/src/Lucene.Net.Tests/Index/TestIndexWriterReader.cs b/src/Lucene.Net.Tests/Index/TestIndexWriterReader.cs
index d9c3c1b..c99c487 100644
--- a/src/Lucene.Net.Tests/Index/TestIndexWriterReader.cs
+++ b/src/Lucene.Net.Tests/Index/TestIndexWriterReader.cs
@@ -742,7 +742,7 @@ namespace Lucene.Net.Index
             }
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestMergeWarmer([ValueSource(typeof(ConcurrentMergeSchedulerFactories), "Values")]Func<IConcurrentMergeScheduler> newScheduler)
         {
             Directory dir1 = GetAssertNoDeletesDirectory(NewDirectory());
@@ -857,7 +857,7 @@ namespace Lucene.Net.Index
         }
 
         // Stress test reopen during addIndexes
-        [Test, LongRunningTest] // LUCENENET TODO: Can this test be optimized to run faster on .NET Core 1.0?
+        [Test]
         public virtual void TestDuringAddIndexes()
         {
             Directory dir1 = GetAssertNoDeletesDirectory(NewDirectory());
@@ -1400,7 +1400,7 @@ namespace Lucene.Net.Index
         /// Make sure if all we do is open NRT reader against
         ///  writer, we don't see merge starvation.
         /// </summary>
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestTooManySegments()
         {
             Directory dir = GetAssertNoDeletesDirectory(NewDirectory());
diff --git a/src/Lucene.Net.Tests/Index/TestIndexWriterUnicode.cs b/src/Lucene.Net.Tests/Index/TestIndexWriterUnicode.cs
index 5064421..8a29212 100644
--- a/src/Lucene.Net.Tests/Index/TestIndexWriterUnicode.cs
+++ b/src/Lucene.Net.Tests/Index/TestIndexWriterUnicode.cs
@@ -223,7 +223,7 @@ namespace Lucene.Net.Index
         }
 
         // LUCENE-510
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestAllUnicodeChars()
         {
             BytesRef utf8 = new BytesRef(10);
diff --git a/src/Lucene.Net.Tests/Index/TestIndexWriterWithThreads.cs b/src/Lucene.Net.Tests/Index/TestIndexWriterWithThreads.cs
index 65480f9..d270cf0 100644
--- a/src/Lucene.Net.Tests/Index/TestIndexWriterWithThreads.cs
+++ b/src/Lucene.Net.Tests/Index/TestIndexWriterWithThreads.cs
@@ -487,7 +487,7 @@ namespace Lucene.Net.Index
 
         // LUCENE-1130: make sure initial IOException, and then 2nd
         // IOException during rollback(), with multiple threads, is OK:
-        [Test, LongRunningTest] // LUCENENET TODO: Can this test be optimized to run faster on .NET Core 1.0?
+        [Test] // LUCENENET TODO: Can this test be optimized to run faster on .NET Core 1.0?
         public virtual void TestIOExceptionDuringAbortWithThreads([ValueSource(typeof(ConcurrentMergeSchedulerFactories), "Values")]Func<IConcurrentMergeScheduler> newScheduler)
         {
             TestMultipleThreadsFailure(newScheduler, new FailOnlyOnAbortOrFlush(false));
@@ -495,7 +495,7 @@ namespace Lucene.Net.Index
 
         // LUCENE-1130: make sure initial IOException, and then 2nd
         // IOException during rollback(), with multiple threads, is OK:
-        [Test, LongRunningTest] // LUCENENET TODO: Can this test be optimized to run faster on .NET Core 1.0?
+        [Test] // LUCENENET TODO: Can this test be optimized to run faster on .NET Core 1.0?
         public virtual void TestIOExceptionDuringAbortWithThreadsOnlyOnce([ValueSource(typeof(ConcurrentMergeSchedulerFactories), "Values")]Func<IConcurrentMergeScheduler> newScheduler)
         {
             TestMultipleThreadsFailure(newScheduler, new FailOnlyOnAbortOrFlush(true));
diff --git a/src/Lucene.Net.Tests/Index/TestIntBlockPool.cs b/src/Lucene.Net.Tests/Index/TestIntBlockPool.cs
index 0b59c83..d53602a 100644
--- a/src/Lucene.Net.Tests/Index/TestIntBlockPool.cs
+++ b/src/Lucene.Net.Tests/Index/TestIntBlockPool.cs
@@ -2,6 +2,7 @@ using System.Collections.Generic;
 
 namespace Lucene.Net.Index
 {
+    using Lucene.Net.Attributes;
     using Lucene.Net.Randomized.Generators;
     using NUnit.Framework;
 
@@ -70,7 +71,7 @@ namespace Lucene.Net.Index
             }
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestMultipleWriterReader()
         {
             Counter bytesUsed = Util.Counter.NewCounter();
diff --git a/src/Lucene.Net.Tests/Index/TestMixedDocValuesUpdates.cs b/src/Lucene.Net.Tests/Index/TestMixedDocValuesUpdates.cs
index 8b29f9c..c1d7e67 100644
--- a/src/Lucene.Net.Tests/Index/TestMixedDocValuesUpdates.cs
+++ b/src/Lucene.Net.Tests/Index/TestMixedDocValuesUpdates.cs
@@ -491,7 +491,7 @@ namespace Lucene.Net.Index
             dir.Dispose();
         }
 
-        [Test, LongRunningTest] // LUCENENET TODO: Can this test be optimized to run faster on .NET Core 1.0?
+        [Test, LongRunningTest]
         public virtual void TestTonsOfUpdates()
         {
             // LUCENE-5248: make sure that when there are many updates, we don't use too much RAM
diff --git a/src/Lucene.Net.Tests/Index/TestStoredFieldsFormat.cs b/src/Lucene.Net.Tests/Index/TestStoredFieldsFormat.cs
index 367a548..c976ca6 100644
--- a/src/Lucene.Net.Tests/Index/TestStoredFieldsFormat.cs
+++ b/src/Lucene.Net.Tests/Index/TestStoredFieldsFormat.cs
@@ -107,7 +107,7 @@ namespace Lucene.Net.Index
             base.TestConcurrentReads();
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public override void TestBigDocuments()
         {
             base.TestBigDocuments();
diff --git a/src/Lucene.Net.Tests/Index/TestStressNRT.cs b/src/Lucene.Net.Tests/Index/TestStressNRT.cs
index b10cd06..d986bda 100644
--- a/src/Lucene.Net.Tests/Index/TestStressNRT.cs
+++ b/src/Lucene.Net.Tests/Index/TestStressNRT.cs
@@ -1,3 +1,4 @@
+using Lucene.Net.Attributes;
 using Lucene.Net.Documents;
 using Lucene.Net.Randomized.Generators;
 using Lucene.Net.Support;
@@ -71,7 +72,7 @@ namespace Lucene.Net.Index
             CommittedModel.PutAll(Model);
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public virtual void Test()
         {
             // update variables
diff --git a/src/Lucene.Net.Tests/Index/TestTermsEnum.cs b/src/Lucene.Net.Tests/Index/TestTermsEnum.cs
index fff1c90..592ae15 100644
--- a/src/Lucene.Net.Tests/Index/TestTermsEnum.cs
+++ b/src/Lucene.Net.Tests/Index/TestTermsEnum.cs
@@ -230,7 +230,7 @@ namespace Lucene.Net.Index
         }
 
         // Tests Terms.intersect
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestIntersectRandom()
         {
             Directory dir = NewDirectory();
diff --git a/src/Lucene.Net.Tests/Search/TestAutomatonQuery.cs b/src/Lucene.Net.Tests/Search/TestAutomatonQuery.cs
index 7d99533..ae98244 100644
--- a/src/Lucene.Net.Tests/Search/TestAutomatonQuery.cs
+++ b/src/Lucene.Net.Tests/Search/TestAutomatonQuery.cs
@@ -224,7 +224,7 @@ namespace Lucene.Net.Search
             Assert.AreEqual(0, AutomatonQueryNrHits(aq));
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestHashCodeWithThreads()
         {
             AutomatonQuery[] queries = new AutomatonQuery[1000];
diff --git a/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs b/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs
index c4a4646..5233492 100644
--- a/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs
+++ b/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs
@@ -381,7 +381,7 @@ namespace Lucene.Net.Search
         /*
          * LUCENE-3528 - NRTManager hangs in certain situations 
          */
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestThreadStarvationNoDeleteNRTReader()
         {
             IndexWriterConfig conf = NewIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(Random()));
diff --git a/src/Lucene.Net.Tests/Search/TestFieldCacheRewriteMethod.cs b/src/Lucene.Net.Tests/Search/TestFieldCacheRewriteMethod.cs
index 484686b..c9c4f16 100644
--- a/src/Lucene.Net.Tests/Search/TestFieldCacheRewriteMethod.cs
+++ b/src/Lucene.Net.Tests/Search/TestFieldCacheRewriteMethod.cs
@@ -73,7 +73,7 @@ namespace Lucene.Net.Search
 
         /// <summary>
         /// test a bunch of random regular expressions </summary>
-        [Test, LongRunningTest]
+        [Test]
         public override void TestRegexps()
         {
             base.TestRegexps();
diff --git a/src/Lucene.Net.Tests/Search/TestNumericRangeQuery64.cs b/src/Lucene.Net.Tests/Search/TestNumericRangeQuery64.cs
index 8e20177..3b5bd83 100644
--- a/src/Lucene.Net.Tests/Search/TestNumericRangeQuery64.cs
+++ b/src/Lucene.Net.Tests/Search/TestNumericRangeQuery64.cs
@@ -711,7 +711,7 @@ namespace Lucene.Net.Search
             }
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestSorting_8bit()
         {
             TestSorting(8);
diff --git a/src/Lucene.Net.Tests/Search/TestSearcherManager.cs b/src/Lucene.Net.Tests/Search/TestSearcherManager.cs
index 9cfc312..970b90b 100644
--- a/src/Lucene.Net.Tests/Search/TestSearcherManager.cs
+++ b/src/Lucene.Net.Tests/Search/TestSearcherManager.cs
@@ -51,7 +51,7 @@ namespace Lucene.Net.Search
 
         private SearcherLifetimeManager.IPruner pruner;
 
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestSearcherManager_Mem()
         {
             pruner = new SearcherLifetimeManager.PruneByAge(TEST_NIGHTLY ? TestUtil.NextInt(Random(), 1, 20) : 1);
diff --git a/src/Lucene.Net.Tests/Store/TestDirectory.cs b/src/Lucene.Net.Tests/Store/TestDirectory.cs
index fc52c59..80d9aa4 100644
--- a/src/Lucene.Net.Tests/Store/TestDirectory.cs
+++ b/src/Lucene.Net.Tests/Store/TestDirectory.cs
@@ -174,7 +174,7 @@ namespace Lucene.Net.Store
 
         // Test that different instances of FSDirectory can coexist on the same
         // path, can read, write, and lock files.
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestDirectInstantiation()
         {
             DirectoryInfo path = CreateTempDir("testDirectInstantiation");
@@ -423,7 +423,7 @@ namespace Lucene.Net.Store
             }
         }
 
-        [Test]
+        [Test, LongRunningTest]
         [LuceneNetSpecific]
         public virtual void ConcurrentIndexAccessThrowsWithoutSynchronizedStaleFiles()
         {
diff --git a/src/Lucene.Net.Tests/Store/TestLockFactory.cs b/src/Lucene.Net.Tests/Store/TestLockFactory.cs
index 2ab4d78..4b7ec9b 100644
--- a/src/Lucene.Net.Tests/Store/TestLockFactory.cs
+++ b/src/Lucene.Net.Tests/Store/TestLockFactory.cs
@@ -154,7 +154,7 @@ namespace Lucene.Net.Store
         // Verify: do stress test, by opening IndexReaders and
         // IndexWriters over & over in 2 threads and making sure
         // no unexpected exceptions are raised:
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestStressLocks()
         {
             _testStressLocks(null, CreateTempDir("index.TestLockFactory6"));
@@ -164,7 +164,7 @@ namespace Lucene.Net.Store
         // IndexWriters over & over in 2 threads and making sure
         // no unexpected exceptions are raised, but use
         // NativeFSLockFactory:
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestStressLocksNativeFSLockFactory()
         {
             DirectoryInfo dir = CreateTempDir("index.TestLockFactory7");
diff --git a/src/Lucene.Net.Tests/Store/TestMultiMMap.cs b/src/Lucene.Net.Tests/Store/TestMultiMMap.cs
index c91f9e2..e606d52 100644
--- a/src/Lucene.Net.Tests/Store/TestMultiMMap.cs
+++ b/src/Lucene.Net.Tests/Store/TestMultiMMap.cs
@@ -317,7 +317,7 @@ namespace Lucene.Net.Store
             }
         }
 
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestSeeking()
         {
             for (int i = 0; i < 10; i++)
@@ -349,7 +349,7 @@ namespace Lucene.Net.Store
 
         // note instead of seeking to offset and reading length, this opens slices at the
         // the various offset+length and just does readBytes.
-        [Test, LongRunningTest]
+        [Test]
         public virtual void TestSlicedSeeking()
         {
             for (int i = 0; i < 10; i++)
diff --git a/src/Lucene.Net.Tests/Support/TestLurchTableThreading.cs b/src/Lucene.Net.Tests/Support/TestLurchTableThreading.cs
index 79b0841..08cb7a9 100644
--- a/src/Lucene.Net.Tests/Support/TestLurchTableThreading.cs
+++ b/src/Lucene.Net.Tests/Support/TestLurchTableThreading.cs
@@ -164,7 +164,7 @@ namespace Lucene.Net.Support
                 Assert.IsTrue(!Map.TryGetValue(id, out test));
         }
 
-        [Test, LuceneNetSpecific]
+        [Test, LongRunningTest, LuceneNetSpecific]
         public void CompareTest()
         {
             const int size = 1000000;
diff --git a/src/Lucene.Net.Tests/Support/TestWeakDictionary.cs b/src/Lucene.Net.Tests/Support/TestWeakDictionary.cs
index 631d0d0..7033360 100644
--- a/src/Lucene.Net.Tests/Support/TestWeakDictionary.cs
+++ b/src/Lucene.Net.Tests/Support/TestWeakDictionary.cs
@@ -118,7 +118,7 @@ namespace Lucene.Net.Support
             return System.Diagnostics.Process.GetCurrentProcess().WorkingSet64 / 1024;
         }
 
-        [Test, LuceneNetSpecific]
+        [Test, LongRunningTest, LuceneNetSpecific]
         public void C_TestMemLeakage()
         {
 
diff --git a/src/Lucene.Net.Tests/Support/TestWeakDictionaryBehavior.cs b/src/Lucene.Net.Tests/Support/TestWeakDictionaryBehavior.cs
index 5f49af2..ce6ac5a 100644
--- a/src/Lucene.Net.Tests/Support/TestWeakDictionaryBehavior.cs
+++ b/src/Lucene.Net.Tests/Support/TestWeakDictionaryBehavior.cs
@@ -250,7 +250,7 @@ namespace Lucene.Net.Support
             Assert.IsNotNull(key2);
         }
 
-        [Test, LuceneNetSpecific]
+        [Test, LongRunningTest, LuceneNetSpecific]
         public void Test_Weak_ForEach()
         {
             BigObject[] keys1 = new BigObject[20];
diff --git a/src/Lucene.Net.Tests/Util/Packed/TestEliasFanoSequence.cs b/src/Lucene.Net.Tests/Util/Packed/TestEliasFanoSequence.cs
index 0bad798..8bbd490 100644
--- a/src/Lucene.Net.Tests/Util/Packed/TestEliasFanoSequence.cs
+++ b/src/Lucene.Net.Tests/Util/Packed/TestEliasFanoSequence.cs
@@ -363,7 +363,7 @@ namespace Lucene.Net.Util.Packed
             TstEFS(values, expHighBits, expLowBits);
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestAdvanceToAndBackToMultiples()
         {
             for (int s = 2; s < 130; s++)
diff --git a/src/Lucene.Net.Tests/Util/TestBroadWord.cs b/src/Lucene.Net.Tests/Util/TestBroadWord.cs
index eb6b219..63c8cfb 100644
--- a/src/Lucene.Net.Tests/Util/TestBroadWord.cs
+++ b/src/Lucene.Net.Tests/Util/TestBroadWord.cs
@@ -1,3 +1,4 @@
+using Lucene.Net.Attributes;
 using Lucene.Net.Support;
 using NUnit.Framework;
 
@@ -104,7 +105,7 @@ namespace Lucene.Net.Util
             }
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestPerfSelectAllBitsBroad()
         {
             for (int j = 0; j < 100000; j++) // 1000000 for real perf test
diff --git a/src/Lucene.Net.Tests/Util/TestCollectionUtil.cs b/src/Lucene.Net.Tests/Util/TestCollectionUtil.cs
index f89c837..2c2dd02 100644
--- a/src/Lucene.Net.Tests/Util/TestCollectionUtil.cs
+++ b/src/Lucene.Net.Tests/Util/TestCollectionUtil.cs
@@ -1,3 +1,4 @@
+using Lucene.Net.Attributes;
 using Lucene.Net.Support;
 using NUnit.Framework;
 using System;
@@ -59,7 +60,7 @@ namespace Lucene.Net.Util
             }
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestTimSort()
         {
             for (int i = 0, c = AtLeast(500); i < c; i++)
diff --git a/src/Lucene.Net.Tests/Util/TestFixedBitSet.cs b/src/Lucene.Net.Tests/Util/TestFixedBitSet.cs
index 5f7e1c5..88e5e59 100644
--- a/src/Lucene.Net.Tests/Util/TestFixedBitSet.cs
+++ b/src/Lucene.Net.Tests/Util/TestFixedBitSet.cs
@@ -261,7 +261,7 @@ namespace Lucene.Net.Util
 
         // large enough to flush obvious bugs, small enough to run in <.5 sec as part of a
         // larger testsuite.
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestSmall()
         {
             DoRandomSets(AtLeast(1200), AtLeast(1000), 1);
diff --git a/src/Lucene.Net.Tests/Util/TestLongBitSet.cs b/src/Lucene.Net.Tests/Util/TestLongBitSet.cs
index 0fa9acf..4bc5c69 100644
--- a/src/Lucene.Net.Tests/Util/TestLongBitSet.cs
+++ b/src/Lucene.Net.Tests/Util/TestLongBitSet.cs
@@ -204,7 +204,7 @@ namespace Lucene.Net.Util
 
         // large enough to flush obvious bugs, small enough to run in <.5 sec as part of a
         // larger testsuite.
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestSmall()
         {
             DoRandomSets(AtLeast(1200), AtLeast(1000), 1);
diff --git a/src/Lucene.Net.Tests/Util/TestNumericUtils.cs b/src/Lucene.Net.Tests/Util/TestNumericUtils.cs
index 78b3835..550eff0 100644
--- a/src/Lucene.Net.Tests/Util/TestNumericUtils.cs
+++ b/src/Lucene.Net.Tests/Util/TestNumericUtils.cs
@@ -338,7 +338,7 @@ namespace Lucene.Net.Util
             AssertLongRangeSplit(long.MinValue, long.MinValue + 0x10L, 4, true, Arrays.AsList(0x0000000000000010L, 0x0000000000000010L, 0x000000000000000L, 0x000000000000000L), Arrays.AsList(0, 4));
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestRandomSplit()
         {
             long num = (long)AtLeast(10);
diff --git a/src/Lucene.Net.Tests/Util/TestPagedBytes.cs b/src/Lucene.Net.Tests/Util/TestPagedBytes.cs
index 2511cdd..098fa84 100644
--- a/src/Lucene.Net.Tests/Util/TestPagedBytes.cs
+++ b/src/Lucene.Net.Tests/Util/TestPagedBytes.cs
@@ -180,8 +180,7 @@ namespace Lucene.Net.Util
         }
 
         [Ignore("// memory hole")] 
-        [Test]
-        [LongRunningTest]
+        [Test, LongRunningTest]
         public virtual void TestOverflow()
         {
             BaseDirectoryWrapper dir = NewFSDirectory(CreateTempDir("testOverflow"));
diff --git a/src/Lucene.Net.Tests/Util/TestWeakIdentityMap.cs b/src/Lucene.Net.Tests/Util/TestWeakIdentityMap.cs
index f2defa3..278dbf7 100644
--- a/src/Lucene.Net.Tests/Util/TestWeakIdentityMap.cs
+++ b/src/Lucene.Net.Tests/Util/TestWeakIdentityMap.cs
@@ -32,7 +32,7 @@ namespace Lucene.Net.Util
     public class TestWeakIdentityMap : LuceneTestCase
     {
 
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestSimpleHashMap()
         {
             WeakIdentityMap<string, string> map = WeakIdentityMap<string, string>.NewHashMap(Random().NextBoolean());
@@ -197,7 +197,7 @@ namespace Lucene.Net.Util
             Assert.IsTrue(map.IsEmpty);
         }
 
-        [Test]
+        [Test, LongRunningTest]
         public virtual void TestConcurrentHashMap()
         {
             // don't make threadCount and keyCount random, otherwise easily OOMs or fails otherwise:


Mime
View raw message