mirror of https://github.com/apache/lucene.git
LUCENE-7595: Disable another test not compatible with RamUsageTester
This commit is contained in:
parent
266ca26407
commit
40a8b4edb4
|
@ -381,6 +381,8 @@ public class TestLRUQueryCache extends LuceneTestCase {
|
|||
// by the cache itself, not cache entries, and we want to make sure that
|
||||
// memory usage is not grossly underestimated.
|
||||
public void testRamBytesUsedConstantEntryOverhead() throws IOException {
|
||||
assumeFalse("LUCENE-7595: RamUsageTester does not work exact in Java 9 (estimations for maps and lists)", Constants.JRE_IS_MINIMUM_JAVA9);
|
||||
|
||||
final LRUQueryCache queryCache = new LRUQueryCache(1000000, 10000000, context -> true);
|
||||
|
||||
final RamUsageTester.Accumulator acc = new RamUsageTester.Accumulator() {
|
||||
|
|
Loading…
Reference in New Issue