Skip to content

Commit

Permalink
Moved "benchmark" tests that cannot fail (see apache#349) to the nigh…
Browse files Browse the repository at this point in the history
…tly build to reduce testing time
  • Loading branch information
NightOwl888 committed Apr 20, 2021
1 parent 4b728a5 commit ea90d8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class CacheSubSequencePerformanceTest : LuceneTestCase
{
[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;
Expand Down
3 changes: 2 additions & 1 deletion src/Lucene.Net.Tests/Index/TestTermdocPerf.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -165,6 +165,7 @@ public virtual int DoTest(int iter, int ndocs, int maxTF, float percentDocs)

[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
Expand Down

0 comments on commit ea90d8c

Please sign in to comment.