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
This commit is contained in:
parent
b93522857c
commit
cc53b7c97b
@ -43,9 +43,11 @@ TEST_F(VoEAudioProcessingTest, FailureIfNotInitialized) {
|
|||||||
EXPECT_FALSE(audioproc_->DriftCompensationEnabled());
|
EXPECT_FALSE(audioproc_->DriftCompensationEnabled());
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(andrew): Ideally, DriftCompensationSupported() would be mocked for this.
|
// TODO(andrew): Investigate race conditions triggered by this test:
|
||||||
TEST_F(VoEAudioProcessingTest, DriftCompensationIsEnabledIfSupported) {
|
// https://code.google.com/p/webrtc/issues/detail?id=788
|
||||||
|
TEST_F(VoEAudioProcessingTest, DISABLED_DriftCompensationIsEnabledIfSupported) {
|
||||||
ASSERT_EQ(0, base_->Init());
|
ASSERT_EQ(0, base_->Init());
|
||||||
|
// TODO(andrew): Ideally, DriftCompensationSupported() would be mocked.
|
||||||
bool supported = VoEAudioProcessing::DriftCompensationSupported();
|
bool supported = VoEAudioProcessing::DriftCompensationSupported();
|
||||||
if (supported) {
|
if (supported) {
|
||||||
EXPECT_EQ(0, audioproc_->EnableDriftCompensation(true));
|
EXPECT_EQ(0, audioproc_->EnableDriftCompensation(true));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user