mirror of https://github.com/apache/lucene.git
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:
parent
9dae566ee7
commit
b7694535eb
|
@ -37,6 +37,7 @@ public class StressRamUsageEstimator extends LuceneTestCase {
|
||||||
volatile Object guard;
|
volatile Object guard;
|
||||||
|
|
||||||
// This shows an easy stack overflow because we're counting recursively.
|
// This shows an easy stack overflow because we're counting recursively.
|
||||||
|
@Nightly
|
||||||
public void testLargeSetOfByteArrays() {
|
public void testLargeSetOfByteArrays() {
|
||||||
|
|
||||||
System.gc();
|
System.gc();
|
||||||
|
@ -72,6 +73,7 @@ public class StressRamUsageEstimator extends LuceneTestCase {
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Nightly
|
||||||
public void testSimpleByteArrays() {
|
public void testSimpleByteArrays() {
|
||||||
Object [][] all = new Object [0][];
|
Object [][] all = new Object [0][];
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue