From cc53b7c97bc589857ed6c28b4b3f3bb3602e6895 Mon Sep 17 00:00:00 2001 From: "andrew@webrtc.org" Date: Wed, 29 Aug 2012 06:55:21 +0000 Subject: [PATCH] Disable test causing race conditions. TBR=kjellander BUG=issue788 Review URL: https://webrtc-codereview.appspot.com/770004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2685 4adac7df-926f-26a2-2b94-8c16560cd09d --- src/voice_engine/voe_audio_processing_unittest.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/voice_engine/voe_audio_processing_unittest.cc b/src/voice_engine/voe_audio_processing_unittest.cc index ca78577f8b..8c66d88781 100644 --- a/src/voice_engine/voe_audio_processing_unittest.cc +++ b/src/voice_engine/voe_audio_processing_unittest.cc @@ -43,9 +43,11 @@ TEST_F(VoEAudioProcessingTest, FailureIfNotInitialized) { EXPECT_FALSE(audioproc_->DriftCompensationEnabled()); } -// TODO(andrew): Ideally, DriftCompensationSupported() would be mocked for this. -TEST_F(VoEAudioProcessingTest, DriftCompensationIsEnabledIfSupported) { +// TODO(andrew): Investigate race conditions triggered by this test: +// https://code.google.com/p/webrtc/issues/detail?id=788 +TEST_F(VoEAudioProcessingTest, DISABLED_DriftCompensationIsEnabledIfSupported) { ASSERT_EQ(0, base_->Init()); + // TODO(andrew): Ideally, DriftCompensationSupported() would be mocked. bool supported = VoEAudioProcessing::DriftCompensationSupported(); if (supported) { EXPECT_EQ(0, audioproc_->EnableDriftCompensation(true));