mirror of https://github.com/apache/lucene.git
SOLR-6424: Fix test for new default.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620197 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9b6fa3c109
commit
62b916cc1f
|
@ -143,7 +143,8 @@ public class HdfsWriteToMultipleCollectionsTest extends BasicDistributedZkTest {
|
|||
BlockDirectory blockDirectory = (BlockDirectory) directory
|
||||
.getDelegate();
|
||||
assertTrue(blockDirectory.isBlockCacheReadEnabled());
|
||||
assertTrue(blockDirectory.isBlockCacheWriteEnabled());
|
||||
// see SOLR-6424
|
||||
assertFalse(blockDirectory.isBlockCacheWriteEnabled());
|
||||
Cache cache = blockDirectory.getCache();
|
||||
// we know its a BlockDirectoryCache, but future proof
|
||||
assertTrue(cache instanceof BlockDirectoryCache);
|
||||
|
|
Loading…
Reference in New Issue