Disable some persistent cache tests on linux/clang

main
Andrew Kryczka 8 years ago
parent 9b5adea97f
commit 1a11c934d2
  1. 4
      utilities/persistent_cache/persistent_cache_test.cc

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

Loading…
Cancel
Save