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:
Mark Robert Miller 2014-08-24 21:47:50 +00:00
parent 9b6fa3c109
commit 62b916cc1f
1 changed files with 2 additions and 1 deletions

View File

@ -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);