Skip to content

Commit fce576a

Browse files
committed
Moved "benchmark" tests that cannot fail (see #349) to the nightly build to reduce testing time
1 parent 4b728a5 commit fce576a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Lucene.Net.Tests.Analysis.Phonetic/Language/Bm/CacheSubSequencePerformanceTest.cs

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public class CacheSubSequencePerformanceTest : LuceneTestCase
2828
{
2929
[Test]
3030
[Slow]
31+
[Nightly] // LUCENENET: Since this is more of a benchmark than a test, moving to Nightly to keep us from buring testing time on it
3132
public void Test()
3233
{
3334
int times = 10000000;

src/Lucene.Net.Tests/Index/TestTermdocPerf.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Lucene.Net.Analysis;
1+
using Lucene.Net.Analysis;
22
using Lucene.Net.Analysis.TokenAttributes;
33
using Lucene.Net.Documents;
44
using Lucene.Net.Index.Extensions;
@@ -165,6 +165,7 @@ public virtual int DoTest(int iter, int ndocs, int maxTF, float percentDocs)
165165

166166
[Test]
167167
[Slow]
168+
[Nightly] // LUCENENET: Since this is more of a benchmark than a test, moving to Nightly to keep us from buring testing time on it
168169
public virtual void TestTermDocPerf()
169170
{
170171
// performance test for 10% of documents containing a term

0 commit comments

Comments
 (0)