lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [1/3] lucenenet git commit: Another confirmed long running test
Date Wed, 07 Jan 2015 01:23:08 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master e3558b84b -> a9585694a


Another confirmed long running test


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

Branch: refs/heads/master
Commit: f79148cfb9e02c155a2998c66b9277b914203209
Parents: e3558b8
Author: Itamar Syn-Hershko <itamar@code972.com>
Authored: Wed Jan 7 02:57:15 2015 +0200
Committer: Itamar Syn-Hershko <itamar@code972.com>
Committed: Wed Jan 7 02:57:15 2015 +0200

----------------------------------------------------------------------
 src/Lucene.Net.Tests/core/Index/TestDocTermOrds.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f79148cf/src/Lucene.Net.Tests/core/Index/TestDocTermOrds.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestDocTermOrds.cs b/src/Lucene.Net.Tests/core/Index/TestDocTermOrds.cs
index 54ef5eb..0042286 100644
--- a/src/Lucene.Net.Tests/core/Index/TestDocTermOrds.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestDocTermOrds.cs
@@ -194,7 +194,7 @@ namespace Lucene.Net.Index
             dir.Dispose();
         }
 
-        [Test]
+        [Test, Timeout(300000)]
         public virtual void TestRandomWithPrefix()
         {
             Directory dir = NewDirectory();
@@ -223,7 +223,7 @@ namespace Lucene.Net.Index
                     terms.Add(new BytesRef(s));
                 }
             }
-            BytesRef[] termsArray = terms.ToArray(/*new BytesRef[terms.Size()]*/);
+            BytesRef[] termsArray = terms.ToArray();
             Array.Sort(termsArray);
 
             int NUM_DOCS = AtLeast(100);


Mime
View raw message