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
commit 73e4649313cb94994989a3c7507b71e316db8f26 Author: Shad Storhaug <[email protected]> AuthorDate: Fri Sep 25 12:10:58 2020 +0700 Lucene.Net.Tests.Facet: Don't use NO_OP_CACHE during Nightly builds to stay under the 1 hour job limit in Azure DevOps --- .../Taxonomy/Directory/TestConcurrentFacetedIndexing.cs | 13 +++++++------ .../Taxonomy/Directory/TestDirectoryTaxonomyWriter.cs | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestConcurrentFacetedIndexing.cs b/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestConcurrentFacetedIndexing.cs index ffc06f1..e194468 100644 --- a/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestConcurrentFacetedIndexing.cs +++ b/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestConcurrentFacetedIndexing.cs @@ -85,12 +85,13 @@ namespace Lucene.Net.Facet.Taxonomy.Directory // this is the fastest, yet most memory consuming return new Cl2oTaxonomyWriterCache(1024, 0.15f, 3); } - else if (TestNightly && d > 0.98) - { - // this is the slowest, but tests the writer concurrency when no caching is done. - // only pick it during NIGHTLY tests, and even then, with very low chances. - return NO_OP_CACHE; - } + // LUCENENET specific - this option takes too long to get under the 1 hour job limit in Azure DevOps + //else if (TestNightly && d > 0.98) + //{ + // // this is the slowest, but tests the writer concurrency when no caching is done. + // // only pick it during NIGHTLY tests, and even then, with very low chances. + // return NO_OP_CACHE; + //} else { // this is slower than CL2O, but less memory consuming, and exercises finding categories on disk too. diff --git a/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestDirectoryTaxonomyWriter.cs b/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestDirectoryTaxonomyWriter.cs index d970236..f5c4ffd 100644 --- a/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestDirectoryTaxonomyWriter.cs +++ b/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestDirectoryTaxonomyWriter.cs @@ -276,12 +276,13 @@ namespace Lucene.Net.Facet.Taxonomy.Directory // this is the fastest, yet most memory consuming cache = new Cl2oTaxonomyWriterCache(1024, 0.15f, 3); } - else if (TestNightly && d > 0.98) - { - // this is the slowest, but tests the writer concurrency when no caching is done. - // only pick it during NIGHTLY tests, and even then, with very low chances. - cache = NO_OP_CACHE; - } + // LUCENENET specific - this option takes too long to get under the 1 hour job limit in Azure DevOps + //else if (TestNightly && d > 0.98) + //{ + // // this is the slowest, but tests the writer concurrency when no caching is done. + // // only pick it during NIGHTLY tests, and even then, with very low chances. + // cache = NO_OP_CACHE; + //} else { // this is slower than CL2O, but less memory consuming, and exercises finding categories on disk too.
