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 fce576a Moved "benchmark" tests that cannot fail (see #349) to the
nightly build to reduce testing time
fce576a is described below
commit fce576ab7ee18733969f516065f9d5fd3b0b9b54
Author: Shad Storhaug <[email protected]>
AuthorDate: Tue Apr 20 13:10:45 2021 +0700
Moved "benchmark" tests that cannot fail (see #349) to the nightly build to
reduce testing time
---
.../Language/Bm/CacheSubSequencePerformanceTest.cs | 1 +
src/Lucene.Net.Tests/Index/TestTermdocPerf.cs | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git
a/src/Lucene.Net.Tests.Analysis.Phonetic/Language/Bm/CacheSubSequencePerformanceTest.cs
b/src/Lucene.Net.Tests.Analysis.Phonetic/Language/Bm/CacheSubSequencePerformanceTest.cs
index c8b76c6..2590c65 100644
---
a/src/Lucene.Net.Tests.Analysis.Phonetic/Language/Bm/CacheSubSequencePerformanceTest.cs
+++
b/src/Lucene.Net.Tests.Analysis.Phonetic/Language/Bm/CacheSubSequencePerformanceTest.cs
@@ -28,6 +28,7 @@ namespace Lucene.Net.Analysis.Phonetic.Language.Bm
{
[Test]
[Slow]
+ [Nightly] // LUCENENET: Since this is more of a benchmark than a test,
moving to Nightly to keep us from buring testing time on it
public void Test()
{
int times = 10000000;
diff --git a/src/Lucene.Net.Tests/Index/TestTermdocPerf.cs
b/src/Lucene.Net.Tests/Index/TestTermdocPerf.cs
index 3401e81..d73b8b6 100644
--- a/src/Lucene.Net.Tests/Index/TestTermdocPerf.cs
+++ b/src/Lucene.Net.Tests/Index/TestTermdocPerf.cs
@@ -1,4 +1,4 @@
-using Lucene.Net.Analysis;
+using Lucene.Net.Analysis;
using Lucene.Net.Analysis.TokenAttributes;
using Lucene.Net.Documents;
using Lucene.Net.Index.Extensions;
@@ -165,6 +165,7 @@ namespace Lucene.Net.Index
[Test]
[Slow]
+ [Nightly] // LUCENENET: Since this is more of a benchmark than a test,
moving to Nightly to keep us from buring testing time on it
public virtual void TestTermDocPerf()
{
// performance test for 10% of documents containing a term