summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorpbos@webrtc.org <pbos@webrtc.org>2014-09-15 14:38:07 +0000
committerpbos@webrtc.org <pbos@webrtc.org>2014-09-15 14:38:07 +0000
commit22ea4927bbfadf21a8fd6349317a9402a31b37e9 (patch)
tree6249347b2e7f61a6f2efac98a96a965d7bb44158 /app
parenta258a1548860c7a58007ad6a371fb05730e84c30 (diff)
downloadtalk-22ea4927bbfadf21a8fd6349317a9402a31b37e9.tar.gz
Make BW checks > 0 in peerconnection_unittest.cc.
These checks (> 40k) fail on LSan FYI bots and the purpose of them seem to be that we're getting non-zero BW reported. R=stefan@webrtc.org TBR=jiayl@webrtc.org, solenberg@webrtc.org BUG=3817,chromium:375154 Review URL: https://webrtc-codereview.appspot.com/29479004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/talk@7183 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'app')
-rw-r--r--app/webrtc/peerconnection_unittest.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/app/webrtc/peerconnection_unittest.cc b/app/webrtc/peerconnection_unittest.cc
index 402a796..0d3e426 100644
--- a/app/webrtc/peerconnection_unittest.cc
+++ b/app/webrtc/peerconnection_unittest.cc
@@ -1512,9 +1512,8 @@ TEST_F(JsepPeerConnectionP2PTestClient, ReceivedBweStatsCombined) {
LocalP2PTest();
// Run until a non-zero bw is reported.
- EXPECT_TRUE_WAIT(
- receiving_client()->GetAvailableReceivedBandwidthStats() > 40000,
- kMaxWaitForRembMs);
+ EXPECT_TRUE_WAIT(receiving_client()->GetAvailableReceivedBandwidthStats() > 0,
+ kMaxWaitForRembMs);
// Halt video capturers, then run until we have gotten some audio. Following
// REMB should be non-zero.
@@ -1539,9 +1538,8 @@ TEST_F(JsepPeerConnectionP2PTestClient, ReceivedBweStatsNotCombined) {
LocalP2PTest();
// Run until a non-zero bw is reported.
- EXPECT_TRUE_WAIT(
- receiving_client()->GetAvailableReceivedBandwidthStats() > 40000,
- kMaxWaitForRembMs);
+ EXPECT_TRUE_WAIT(receiving_client()->GetAvailableReceivedBandwidthStats() > 0,
+ kMaxWaitForRembMs);
// Halt video capturers, then run until we have gotten some audio. Following
// REMB should be zero.