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 {
#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

Loading…
Cancel
Save