lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject [lucene-solr] 01/10: mark StressRamUsageEstimator tests nightly.
Date Wed, 29 Jan 2020 19:18:48 GMT
This is an automated email from the ASF dual-hosted git repository.

rmuir pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit 1faf5aa6c731548a40932936c84b8dbf1221f5cf
Author: Robert Muir <rmuir@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 {


Mime
View raw message