diff --git a/db/db_test.cc b/db/db_test.cc index 682a382d7..036735200 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -2313,6 +2313,9 @@ INSTANTIATE_TEST_CASE_P( #endif // ROCKSDB_LITE // Group commit test: +#if !defined(TRAVIS) && !defined(OS_WIN) +// Disable this test temporarily on Travis and appveyor as it fails +// intermittently. Github issue: #4151 namespace { static const int kGCNumThreads = 4; @@ -2339,9 +2342,6 @@ static void GCThreadBody(void* arg) { } // namespace -#ifndef TRAVIS -// Disable this test temporarily on Travis as it fails intermittently. -// Github issue: #4151 TEST_F(DBTest, GroupCommitTest) { do { Options options = CurrentOptions();