Disable some persistent cache tests on linux/clang

This commit is contained in:
Andrew Kryczka 2016-07-04 15:42:33 -07:00
parent 9b5adea97f
commit 1a11c934d2

View File

@ -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