From 53dda8797d17514895df06d780ec2ad2314349cb Mon Sep 17 00:00:00 2001 From: Sagar Vemuri Date: Wed, 14 Jun 2017 14:51:37 -0700 Subject: [PATCH] Do not run RateLimiterTest.Rate test on Travis+Mac OSX. Summary: RateLimiterTest.Rate test has been failing continuously since many days on travis in Mac OSX PLATFORM_DEPENDENT test suite. Check https://travis-ci.org/facebook/rocksdb/pull_requests. Disabling this test for now, so that we can investigate more in depth. Closes https://github.com/facebook/rocksdb/pull/2451 Differential Revision: D5250147 Pulled By: sagar0 fbshipit-source-id: d58476a3c2792d20e875754d1516c4bc7174e86c --- util/rate_limiter_test.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/rate_limiter_test.cc b/util/rate_limiter_test.cc index 4d4d0f03f..8976206fe 100644 --- a/util/rate_limiter_test.cc +++ b/util/rate_limiter_test.cc @@ -59,6 +59,7 @@ TEST_F(RateLimiterTest, Modes) { } } +#if !(defined(TRAVIS) && defined(OS_MACOSX)) TEST_F(RateLimiterTest, Rate) { auto* env = Env::Default(); struct Arg { @@ -121,6 +122,7 @@ TEST_F(RateLimiterTest, Rate) { } } } +#endif TEST_F(RateLimiterTest, LimitChangeTest) { // starvation test when limit changes to a smaller value