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.
This commit is contained in:
Robert Muir 2020-01-22 10:19:44 -05:00
parent 9dae566ee7
commit b7694535eb
No known key found for this signature in database
GPG Key ID: 817AE1DD322D7ECA
1 changed files with 2 additions and 0 deletions

View File

@ -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 {