From 1a11c934d23f0cbac2f2327084883cc140f2c229 Mon Sep 17 00:00:00 2001 From: Andrew Kryczka Date: Mon, 4 Jul 2016 15:42:33 -0700 Subject: [PATCH] Disable some persistent cache tests on linux/clang --- utilities/persistent_cache/persistent_cache_test.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utilities/persistent_cache/persistent_cache_test.cc b/utilities/persistent_cache/persistent_cache_test.cc index 92978a845..b2dbe3bb8 100644 --- a/utilities/persistent_cache/persistent_cache_test.cc +++ b/utilities/persistent_cache/persistent_cache_test.cc @@ -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