summaryrefslogtreecommitdiff
path: root/db/db_block_cache_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'db/db_block_cache_test.cc')
-rw-r--r--db/db_block_cache_test.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/db/db_block_cache_test.cc b/db/db_block_cache_test.cc
index 327be8bd9..3dcdb505e 100644
--- a/db/db_block_cache_test.cc
+++ b/db/db_block_cache_test.cc
@@ -1290,12 +1290,15 @@ TEST_F(DBBlockCacheTest, CacheEntryRoleStats) {
int iterations_tested = 0;
for (bool partition : {false, true}) {
for (std::shared_ptr<Cache> cache :
- {NewLRUCache(capacity), NewClockCache(capacity),
- NewFastLRUCache(capacity)}) {
+ {NewLRUCache(capacity), NewClockCache(capacity)}) {
+ // This test doesn't support FastLRUCache because the
+ // keys used are not 16B long.
+ // TODO(guido) Add support for FastLRUCache.
if (!cache) {
// Skip clock cache when not supported
continue;
}
+
++iterations_tested;
Options options = CurrentOptions();