Disabling MixingTests due to race conditions.

BUG=1580
TBR=tommi

Review URL: https://webrtc-codereview.appspot.com/1285005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3762 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrika@webrtc.org 2013-04-04 15:19:10 +00:00
parent fcb7c38b15
commit aa527bbc91

View File

@ -198,7 +198,7 @@ class MixingTest : public AfterInitializationFixture {
// These tests assume a maximum of three mixed participants. We typically allow // These tests assume a maximum of three mixed participants. We typically allow
// a +/- 10% range around the expected output level to account for distortion // a +/- 10% range around the expected output level to account for distortion
// from coding and processing in the loopback chain. // from coding and processing in the loopback chain.
TEST_F(MixingTest, FourChannelsWithOnlyThreeMixed) { TEST_F(MixingTest, DISABLED_FourChannelsWithOnlyThreeMixed) {
const int16_t kInputValue = 1000; const int16_t kInputValue = 1000;
const int16_t kExpectedOutput = kInputValue * 3; const int16_t kExpectedOutput = kInputValue * 3;
RunMixingTest(4, 0, 4, kInputValue, 1.1 * kExpectedOutput, RunMixingTest(4, 0, 4, kInputValue, 1.1 * kExpectedOutput,
@ -208,7 +208,7 @@ TEST_F(MixingTest, FourChannelsWithOnlyThreeMixed) {
// Ensure the mixing saturation protection is working. We can do this because // Ensure the mixing saturation protection is working. We can do this because
// the mixing limiter is given some headroom, so the expected output is less // the mixing limiter is given some headroom, so the expected output is less
// than full scale. // than full scale.
TEST_F(MixingTest, VerifySaturationProtection) { TEST_F(MixingTest, DISABLED_VerifySaturationProtection) {
const int16_t kInputValue = 20000; const int16_t kInputValue = 20000;
const int16_t kExpectedOutput = kLimiterHeadroom; const int16_t kExpectedOutput = kLimiterHeadroom;
// If this isn't satisfied, we're not testing anything. // If this isn't satisfied, we're not testing anything.
@ -218,7 +218,7 @@ TEST_F(MixingTest, VerifySaturationProtection) {
0.9 * kExpectedOutput); 0.9 * kExpectedOutput);
} }
TEST_F(MixingTest, SaturationProtectionHasNoEffectOnOneChannel) { TEST_F(MixingTest, DISABLED_SaturationProtectionHasNoEffectOnOneChannel) {
const int16_t kInputValue = kInt16Max; const int16_t kInputValue = kInt16Max;
const int16_t kExpectedOutput = kInt16Max; const int16_t kExpectedOutput = kInt16Max;
// If this isn't satisfied, we're not testing anything. // If this isn't satisfied, we're not testing anything.
@ -228,21 +228,21 @@ TEST_F(MixingTest, SaturationProtectionHasNoEffectOnOneChannel) {
0.95 * kExpectedOutput); 0.95 * kExpectedOutput);
} }
TEST_F(MixingTest, VerifyAnonymousAndNormalParticipantMixing) { TEST_F(MixingTest, DISABLED_VerifyAnonymousAndNormalParticipantMixing) {
const int16_t kInputValue = 1000; const int16_t kInputValue = 1000;
const int16_t kExpectedOutput = kInputValue * 2; const int16_t kExpectedOutput = kInputValue * 2;
RunMixingTest(1, 1, 1, kInputValue, 1.1 * kExpectedOutput, RunMixingTest(1, 1, 1, kInputValue, 1.1 * kExpectedOutput,
0.9 * kExpectedOutput); 0.9 * kExpectedOutput);
} }
TEST_F(MixingTest, AnonymousParticipantsAreAlwaysMixed) { TEST_F(MixingTest, DISABLED_AnonymousParticipantsAreAlwaysMixed) {
const int16_t kInputValue = 1000; const int16_t kInputValue = 1000;
const int16_t kExpectedOutput = kInputValue * 4; const int16_t kExpectedOutput = kInputValue * 4;
RunMixingTest(3, 1, 3, kInputValue, 1.1 * kExpectedOutput, RunMixingTest(3, 1, 3, kInputValue, 1.1 * kExpectedOutput,
0.9 * kExpectedOutput); 0.9 * kExpectedOutput);
} }
TEST_F(MixingTest, VerifyStereoAndMonoMixing) { TEST_F(MixingTest, DISABLED_VerifyStereoAndMonoMixing) {
const int16_t kInputValue = 1000; const int16_t kInputValue = 1000;
const int16_t kExpectedOutput = kInputValue * 2; const int16_t kExpectedOutput = kInputValue * 2;
RunMixingTest(2, 0, 1, kInputValue, 1.1 * kExpectedOutput, RunMixingTest(2, 0, 1, kInputValue, 1.1 * kExpectedOutput,