LUCENE-7595: Disable another test not compatible with RamUsageTester

This commit is contained in:
Uwe Schindler 2016-12-29 22:56:54 +01:00
parent db9190db93
commit d65c02e8cc
1 changed files with 2 additions and 0 deletions

View File

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