You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2020/01/22 15:21:33 UTC
[lucene-solr] branch master updated: mark StressRamUsageEstimator
tests nightly.
This is an automated email from the ASF dual-hosted git repository.
rmuir pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/master by this push:
new b769453 mark StressRamUsageEstimator tests nightly.
b769453 is described below
commit b7694535eb9c8746a2d9123d7419f400275e7ce4
Author: Robert Muir <rm...@apache.org>
AuthorDate: Wed Jan 22 10:19:44 2020 -0500
mark StressRamUsageEstimator tests nightly.
This is consistently the slowest test for me in all of lucene core by
far. Takes around an entire minute. Mark it nightly: should catch any
issues with RAM estimation but keep local builds fast.
---
.../core/src/test/org/apache/lucene/util/StressRamUsageEstimator.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lucene/core/src/test/org/apache/lucene/util/StressRamUsageEstimator.java b/lucene/core/src/test/org/apache/lucene/util/StressRamUsageEstimator.java
index cb743f1..b66da5a 100644
--- a/lucene/core/src/test/org/apache/lucene/util/StressRamUsageEstimator.java
+++ b/lucene/core/src/test/org/apache/lucene/util/StressRamUsageEstimator.java
@@ -37,6 +37,7 @@ public class StressRamUsageEstimator extends LuceneTestCase {
volatile Object guard;
// This shows an easy stack overflow because we're counting recursively.
+ @Nightly
public void testLargeSetOfByteArrays() {
System.gc();
@@ -72,6 +73,7 @@ public class StressRamUsageEstimator extends LuceneTestCase {
return s;
}
+ @Nightly
public void testSimpleByteArrays() {
Object [][] all = new Object [0][];
try {