lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [lucenenet] branch master updated: Lucene.Net.Tests.Replicator: Timeout doesn't exist on .NET Standard 2.0 (as of NUnit 3.9.0) either, patching build
Date Sat, 13 Jul 2019 18:27:15 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


The following commit(s) were added to refs/heads/master by this push:
     new 3a79b9b  Lucene.Net.Tests.Replicator: Timeout doesn't exist on .NET Standard 2.0
(as of NUnit 3.9.0) either, patching build
3a79b9b is described below

commit 3a79b9bd03555c8843573bbab9f4a418a23dc19e
Author: Shad Storhaug <shad@shadstorhaug.com>
AuthorDate: Sun Jul 14 01:27:05 2019 +0700

    Lucene.Net.Tests.Replicator: Timeout doesn't exist on .NET Standard 2.0 (as of NUnit 3.9.0)
either, patching build
---
 .../Lucene.Net.Tests.Replicator.csproj                     |  3 ++-
 src/Lucene.Net.Tests.Replicator/Properties/AssemblyInfo.cs | 14 +++++++++++++-
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/src/Lucene.Net.Tests.Replicator/Lucene.Net.Tests.Replicator.csproj b/src/Lucene.Net.Tests.Replicator/Lucene.Net.Tests.Replicator.csproj
index d54a8d7..3b455b5 100644
--- a/src/Lucene.Net.Tests.Replicator/Lucene.Net.Tests.Replicator.csproj
+++ b/src/Lucene.Net.Tests.Replicator/Lucene.Net.Tests.Replicator.csproj
@@ -46,11 +46,12 @@
   </ItemGroup>
 
   <PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
+    <DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD2_0</DefineConstants>
     <DebugType>portable</DebugType>
   </PropertyGroup>
 
   <PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp1.0' ">
-    <DefineConstants>$(DefineConstants);NETSTANDARD1_6</DefineConstants>
+    <DefineConstants>$(DefineConstants);NETSTANDARD;NETSTANDARD1_6</DefineConstants>
     <DebugType>portable</DebugType>
   </PropertyGroup>
 
diff --git a/src/Lucene.Net.Tests.Replicator/Properties/AssemblyInfo.cs b/src/Lucene.Net.Tests.Replicator/Properties/AssemblyInfo.cs
index 0949bc5..6d67701 100644
--- a/src/Lucene.Net.Tests.Replicator/Properties/AssemblyInfo.cs
+++ b/src/Lucene.Net.Tests.Replicator/Properties/AssemblyInfo.cs
@@ -36,11 +36,23 @@ using System.Runtime.InteropServices;
 // The following GUID is for the ID of the typelib if this project is exposed to COM
 [assembly: Guid("418e9d8e-2369-4b52-8d2f-5a987213999b")]
 
-#if !NETSTANDARD1_6
+#if !NETSTANDARD
 // LUCENENET TODO: 2019-07-14 - Had a hanging test in Lucene.Net.Tests.Replicator 
 // on .NET Framwork 4.5 (not sure which one),
 // but unable to repeat. Adding this timeout (with at least 10x the time it usually takes
 // to run all of these tests) to ensure if we get a hang again, the hanging test will fail
 // so we know which test to investigate.
 [assembly: NUnit.Framework.Timeout(120000)]
+
+All we know for certain is that it wasn't any of these tests
+
+√ TestBasic [1s 220ms]
+√ TestNoUpdateThread [313ms]
+√ TestRecreateTaxonomy [233ms]
+√ TestRestart [380ms]
+√ TestUpdateThread [314ms]
+√ TestNoCommit [26ms]
+√ TestOpen [31ms]
+√ TestRevisionRelease [5ms]
+√ TestSegmentsFileLast [3ms]
 #endif


Mime
View raw message