Increase the threshold for RunPlayoutAndRecordingInFullDuplex. Again.

RunPlayoutAndRecordingInFullDuplex fails sometimes on Android swarming
bots, presumably because the timing is hardware dependent.

This test ensures that audio starts pumping. The exact performance is
not that important.

R=kjellander@webrtc.org, henrika@webrtc.org
BUG=webrtc:6464
NOTRY=True

Review-Url: https://codereview.webrtc.org/2525943003
Cr-Commit-Position: refs/heads/master@{#15223}
This commit is contained in:
ehmaldonado 2016-11-24 03:13:16 -08:00 committed by Commit bot
parent 3edc7f05f5
commit 37a2111d7c

View File

@ -982,8 +982,8 @@ TEST_F(AudioDeviceTest, RunPlayoutAndRecordingInFullDuplex) {
// These thresholds are set rather high to accomodate differences in hardware
// in several devices, so this test can be used in swarming.
// See http://bugs.webrtc.org/6464
EXPECT_LE(fifo_audio_stream->average_size(), 30u);
EXPECT_LE(fifo_audio_stream->largest_size(), 40u);
EXPECT_LE(fifo_audio_stream->average_size(), 60u);
EXPECT_LE(fifo_audio_stream->largest_size(), 70u);
}
// Measures loopback latency and reports the min, max and average values for