lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [1/2] lucenenet git commit: pulling out nightly attributes and pulling in LongRunningTest attributes.
Date Fri, 06 Feb 2015 08:05:13 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master dd89c8b36 -> e6b5b5e86


pulling out nightly attributes and pulling in LongRunningTest attributes.

Squashed commit:

[0906c1a] removing unused attribute.

[6ebe34b] don't need weekly.


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

Branch: refs/heads/master
Commit: 8d48818fbf3fad2d26f552c7386f7b5666c6e2d4
Parents: 511507f
Author: Wyatt Barnett <wyatt.barnett@gmail.com>
Authored: Tue Feb 3 19:18:31 2015 -0500
Committer: Wyatt Barnett <wyatt.barnett@gmail.com>
Committed: Tue Feb 3 19:36:20 2015 -0500

----------------------------------------------------------------------
 .../Attributes/AwaitsFixAttribute.cs             | 19 -------------------
 .../Attributes/NightlyAttribute.cs               | 14 --------------
 .../Attributes/WeeklyAttribute.cs                | 14 --------------
 .../Index/BaseStoredFieldsFormatTestCase.cs      |  2 +-
 .../Index/BaseTermVectorsFormatTestCase.cs       |  2 +-
 .../Lucene.Net.TestFramework.csproj              |  3 ---
 .../core/Index/Test2BPostings.cs                 |  2 +-
 .../core/Index/TestIndexWriterDelete.cs          |  2 +-
 src/Lucene.Net.Tests/core/Store/TestDirectory.cs |  2 +-
 .../core/Store/TestHugeRamFile.cs                |  2 +-
 10 files changed, 6 insertions(+), 56 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/8d48818f/src/Lucene.Net.TestFramework/Attributes/AwaitsFixAttribute.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Attributes/AwaitsFixAttribute.cs b/src/Lucene.Net.TestFramework/Attributes/AwaitsFixAttribute.cs
deleted file mode 100644
index 3b9f9b5..0000000
--- a/src/Lucene.Net.TestFramework/Attributes/AwaitsFixAttribute.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-using System;
-using NUnit.Framework;
-
-namespace Lucene.Net.Attributes
-{
-    [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method,
AllowMultiple = false, Inherited = false)]    
-    public class AwaitsFixAttribute : ExplicitAttribute
-    {
-        public AwaitsFixAttribute() : base("Awaits fix")
-        {
-            
-        }
-
-        /// <summary>
-        /// Point to JIRA / GitHub entry.
-        /// </summary>
-        public string BugUrl { get; set; }
-    }
-}

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/8d48818f/src/Lucene.Net.TestFramework/Attributes/NightlyAttribute.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Attributes/NightlyAttribute.cs b/src/Lucene.Net.TestFramework/Attributes/NightlyAttribute.cs
deleted file mode 100644
index 496db8b..0000000
--- a/src/Lucene.Net.TestFramework/Attributes/NightlyAttribute.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using System;
-using NUnit.Framework;
-
-namespace Lucene.Net.Attributes
-{
-    [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method,
AllowMultiple = false, Inherited = false)]
-    public class NightlyAttribute : ExplicitAttribute
-    {
-        public NightlyAttribute() : base("Nightly")
-        {
-            
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/8d48818f/src/Lucene.Net.TestFramework/Attributes/WeeklyAttribute.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Attributes/WeeklyAttribute.cs b/src/Lucene.Net.TestFramework/Attributes/WeeklyAttribute.cs
deleted file mode 100644
index 4f394bf..0000000
--- a/src/Lucene.Net.TestFramework/Attributes/WeeklyAttribute.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using System;
-using NUnit.Framework;
-
-namespace Lucene.Net.Attributes
-{
-    [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method,
AllowMultiple = false, Inherited = false)]
-    public class WeeklyAttribute : ExplicitAttribute
-    {
-        public WeeklyAttribute() : base("Weekly")
-        {
-            
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/8d48818f/src/Lucene.Net.TestFramework/Index/BaseStoredFieldsFormatTestCase.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Index/BaseStoredFieldsFormatTestCase.cs b/src/Lucene.Net.TestFramework/Index/BaseStoredFieldsFormatTestCase.cs
index ce1144f..943bb86 100644
--- a/src/Lucene.Net.TestFramework/Index/BaseStoredFieldsFormatTestCase.cs
+++ b/src/Lucene.Net.TestFramework/Index/BaseStoredFieldsFormatTestCase.cs
@@ -671,7 +671,7 @@ namespace Lucene.Net.Index
             dir.Dispose();
         }
 
-        [Test, Nightly, Timeout(int.MaxValue)]
+        [Test, LongRunningTest, Timeout(int.MaxValue)]
         public void TestBigDocuments()
         {
             // "big" as "much bigger than the chunk size"

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/8d48818f/src/Lucene.Net.TestFramework/Index/BaseTermVectorsFormatTestCase.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Index/BaseTermVectorsFormatTestCase.cs b/src/Lucene.Net.TestFramework/Index/BaseTermVectorsFormatTestCase.cs
index b4397b1..a0745c4 100644
--- a/src/Lucene.Net.TestFramework/Index/BaseTermVectorsFormatTestCase.cs
+++ b/src/Lucene.Net.TestFramework/Index/BaseTermVectorsFormatTestCase.cs
@@ -734,7 +734,7 @@ namespace Lucene.Net.Index
             }
         }
 
-        [Test, Nightly, Timeout(int.MaxValue)]
+        [Test, LongRunningTest, Timeout(int.MaxValue)]
         public virtual void TestLotsOfFields()
         {
             RandomDocumentFactory docFactory = new RandomDocumentFactory(this, 500, 10);

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/8d48818f/src/Lucene.Net.TestFramework/Lucene.Net.TestFramework.csproj
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Lucene.Net.TestFramework.csproj b/src/Lucene.Net.TestFramework/Lucene.Net.TestFramework.csproj
index da56bf2..84c6bb1 100644
--- a/src/Lucene.Net.TestFramework/Lucene.Net.TestFramework.csproj
+++ b/src/Lucene.Net.TestFramework/Lucene.Net.TestFramework.csproj
@@ -127,10 +127,7 @@
     <Compile Include="Analysis\VocabularyAssert.cs">
       <SubType>Code</SubType>
     </Compile>
-    <Compile Include="Attributes\AwaitsFixAttribute.cs" />
     <Compile Include="Attributes\LongRunningTestAttribute.cs" />
-    <Compile Include="Attributes\NightlyAttribute.cs" />
-    <Compile Include="Attributes\WeeklyAttribute.cs" />
     <Compile Include="Codecs\asserting\AssertingCodec.cs">
       <SubType>Code</SubType>
     </Compile>

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/8d48818f/src/Lucene.Net.Tests/core/Index/Test2BPostings.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/Test2BPostings.cs b/src/Lucene.Net.Tests/core/Index/Test2BPostings.cs
index f838102..a7ee7bc 100644
--- a/src/Lucene.Net.Tests/core/Index/Test2BPostings.cs
+++ b/src/Lucene.Net.Tests/core/Index/Test2BPostings.cs
@@ -43,7 +43,7 @@ namespace Lucene.Net.Index
     [TestFixture]
     public class Test2BPostings : LuceneTestCase
     {
-        [Test, Nightly, Timeout(int.MaxValue)]
+        [Test, LongRunningTest, Timeout(int.MaxValue)]
         public virtual void Test()
         {
             BaseDirectoryWrapper dir = NewFSDirectory(CreateTempDir("2BPostings"));

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/8d48818f/src/Lucene.Net.Tests/core/Index/TestIndexWriterDelete.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestIndexWriterDelete.cs b/src/Lucene.Net.Tests/core/Index/TestIndexWriterDelete.cs
index 1da1779..bf68f4f 100644
--- a/src/Lucene.Net.Tests/core/Index/TestIndexWriterDelete.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestIndexWriterDelete.cs
@@ -1299,7 +1299,7 @@ namespace Lucene.Net.Index
 
         // Make sure buffered (pushed) deletes don't use up so
         // much RAM that it forces long tail of tiny segments:
-        [Test, Nightly, Timeout(int.MaxValue)]
+        [Test, LongRunningTest, Timeout(int.MaxValue)]
         public virtual void TestApplyDeletesOnFlush()
         {
             Directory dir = NewDirectory();

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/8d48818f/src/Lucene.Net.Tests/core/Store/TestDirectory.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Store/TestDirectory.cs b/src/Lucene.Net.Tests/core/Store/TestDirectory.cs
index 8d4df01..31dfebb 100644
--- a/src/Lucene.Net.Tests/core/Store/TestDirectory.cs
+++ b/src/Lucene.Net.Tests/core/Store/TestDirectory.cs
@@ -54,7 +54,7 @@ namespace Lucene.Net.Store
 
         // test is occasionally very slow, i dont know why
         // try this seed: 7D7E036AD12927F5:93333EF9E6DE44DE
-        [Test, Nightly, Timeout(int.MaxValue)]
+        [Test, LongRunningTest, Timeout(int.MaxValue)]
         public virtual void TestThreadSafety()
         {
             BaseDirectoryWrapper dir = NewDirectory();

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/8d48818f/src/Lucene.Net.Tests/core/Store/TestHugeRamFile.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Store/TestHugeRamFile.cs b/src/Lucene.Net.Tests/core/Store/TestHugeRamFile.cs
index e5e405e..1ee2c48 100644
--- a/src/Lucene.Net.Tests/core/Store/TestHugeRamFile.cs
+++ b/src/Lucene.Net.Tests/core/Store/TestHugeRamFile.cs
@@ -63,7 +63,7 @@ namespace Lucene.Net.Store
 
         /// <summary>
         /// Test huge RAMFile with more than Integer.MAX_VALUE bytes. (LUCENE-957) </summary>
-        [Test, Nightly, Timeout(int.MaxValue)]
+        [Test, LongRunningTest, Timeout(int.MaxValue)]
         public virtual void TestHugeFile()
         {
             var f = new DenseRAMFile();


Mime
View raw message