Disabled ProfilerTest.TestFunction due to flakiness.

BUG=webrtc:5947

Review-Url: https://codereview.webrtc.org/2021743003
Cr-Commit-Position: refs/heads/master@{#12960}
This commit is contained in:
ossu
2016-05-30 07:36:23 -07:00
committed by Commit bot
parent f0e174aab4
commit 22e70ab1dd

View File

@ -28,7 +28,13 @@ const char* TestFunc() {
namespace rtc {
TEST(ProfilerTest, TestFunction) {
// Disable this test due to flakiness; see bug 5947.
#if defined(WEBRTC_LINUX)
#define MAYBE_TestFunction DISABLED_TestFunction
#else
#define MAYBE_TestFunction TestFunction
#endif
TEST(ProfilerTest, MAYBE_TestFunction) {
ASSERT_TRUE(Profiler::Instance()->Clear());
// Profile a long-running function.