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 b5c912359c1bd2f630eb5cc694b83b2ea85da7c4 Author: Shad Storhaug <[email protected]> AuthorDate: Fri Sep 25 12:09:58 2020 +0700 Lucene.Net.Tests.Index.Test4GBStoredFields: Added exception because this test runs out of memory on x86 --- src/Lucene.Net.Tests/Index/Test4GBStoredFields.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Lucene.Net.Tests/Index/Test4GBStoredFields.cs b/src/Lucene.Net.Tests/Index/Test4GBStoredFields.cs index f2e959c..f39918d 100644 --- a/src/Lucene.Net.Tests/Index/Test4GBStoredFields.cs +++ b/src/Lucene.Net.Tests/Index/Test4GBStoredFields.cs @@ -2,6 +2,7 @@ using Lucene.Net.Documents; using Lucene.Net.Index.Extensions; using Lucene.Net.Randomized.Generators; using Lucene.Net.Store; +using Lucene.Net.Util; using NUnit.Framework; using System; using Assert = Lucene.Net.TestFramework.Assert; @@ -47,6 +48,9 @@ namespace Lucene.Net.Index [Nightly] public virtual void Test([ValueSource(typeof(ConcurrentMergeSchedulerFactories), "Values")]Func<IConcurrentMergeScheduler> newScheduler) { + // LUCENENET specific - disable the test if not 64 bit + AssumeTrue("This test consumes too much RAM be run on x86.", Constants.RUNTIME_IS_64BIT); + MockDirectoryWrapper dir = new MockDirectoryWrapper(Random, new MMapDirectory(CreateTempDir("4GBStoredFields"))); dir.Throttling = Throttling.NEVER;
