|
|
|
@ -16,6 +16,7 @@ |
|
|
|
|
|
|
|
|
|
namespace rocksdb { |
|
|
|
|
|
|
|
|
|
#if !(defined(__clang__) && defined(OS_LINUX)) |
|
|
|
|
// Volatile cache tests
|
|
|
|
|
TEST_F(PersistentCacheTierTest, VolatileCacheInsert) { |
|
|
|
|
for (auto nthreads : {1, 5}) { |
|
|
|
@ -25,6 +26,7 @@ TEST_F(PersistentCacheTierTest, VolatileCacheInsert) { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
#endif // !(defined(__clang__) && defined(OS_LINUX))
|
|
|
|
|
|
|
|
|
|
TEST_F(PersistentCacheTierTest, VolatileCacheInsertWithEviction) { |
|
|
|
|
for (auto nthreads : {1, 5}) { |
|
|
|
@ -36,10 +38,12 @@ TEST_F(PersistentCacheTierTest, VolatileCacheInsertWithEviction) { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#if !(defined(__clang__) && defined(OS_LINUX)) |
|
|
|
|
// test table with volatile page cache
|
|
|
|
|
TEST_F(PersistentCacheDBTest, VolatileCacheTest) { |
|
|
|
|
RunTest(std::bind(&PersistentCacheDBTest::MakeVolatileCache, this)); |
|
|
|
|
} |
|
|
|
|
#endif // !(defined(__clang__) && defined(OS_LINUX))
|
|
|
|
|
|
|
|
|
|
} // namespace rocksdb
|
|
|
|
|
|
|
|
|
|