lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [27/33] lucenenet git commit: Lucene.Net.Tests.Codecs.PerField.TestPerFieldDocValuesFormat.TestSortedSetVariableLengthVsUninvertedField(): increased timeout to 1 minute (SimpleText can take longer than 20 seconds)
Date Fri, 17 Mar 2017 22:28:57 GMT
Lucene.Net.Tests.Codecs.PerField.TestPerFieldDocValuesFormat.TestSortedSetVariableLengthVsUninvertedField():
increased timeout to 1 minute (SimpleText can take longer than 20 seconds)


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

Branch: refs/heads/api-work
Commit: 9bc8d93cdde24261cbcdafa8307f4757470589b2
Parents: 7a14f42
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sat Mar 18 03:19:56 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sat Mar 18 03:21:50 2017 +0700

----------------------------------------------------------------------
 .../Codecs/PerField/TestPerFieldDocValuesFormat.cs  | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/9bc8d93c/src/Lucene.Net.Tests/Codecs/PerField/TestPerFieldDocValuesFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/Codecs/PerField/TestPerFieldDocValuesFormat.cs b/src/Lucene.Net.Tests/Codecs/PerField/TestPerFieldDocValuesFormat.cs
index a0095ef..2297259 100644
--- a/src/Lucene.Net.Tests/Codecs/PerField/TestPerFieldDocValuesFormat.cs
+++ b/src/Lucene.Net.Tests/Codecs/PerField/TestPerFieldDocValuesFormat.cs
@@ -1,14 +1,14 @@
+using NUnit.Framework;
+using Lucene.Net.Attributes;
+using Lucene.Net.Documents;
+using Lucene.Net.Index;
+using Lucene.Net.Support;
 using System;
 using System.Collections.Generic;
 using System.Diagnostics;
-using Lucene.Net.Support;
-using Lucene.Net.Documents;
 
 namespace Lucene.Net.Codecs.PerField
 {
-    using Lucene.Net.Index;
-    using NUnit.Framework;
-
     /*
          * Licensed to the Apache Software Foundation (ASF) under one or more
          * contributor license agreements.  See the NOTICE file distributed with
@@ -542,7 +542,11 @@ namespace Lucene.Net.Codecs.PerField
             base.TestSortedSetFixedLengthVsUninvertedField();
         }
 
-        [Test]
+#if !NETSTANDARD
+        // LUCENENET: There is no Timeout on NUnit for .NET Core.
+        [Timeout(60000)]
+#endif
+        [Test, HasTimeout]
         public override void TestSortedSetVariableLengthVsUninvertedField()
         {
             base.TestSortedSetVariableLengthVsUninvertedField();


Mime
View raw message