Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Issue 1919523002: Fix the flaky WebRtcSessionTest.TestRtxRemovedByCreateAnswer. (Closed)

Created:
4 years, 8 months ago by Zhi Huang
Modified:
4 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix the flaky WebRtcSessionTest.TestRtxRemovedByCreateAnswer. Use the attribute in MediaContentDescription to test whether Rtx is removed in the answer instead of searching the substring "rtx" in the whole answer sdp. BUG=webrtc:4943 Committed: https://crrev.com/3a334656de92eb2ab3dd688a1bd70f0db3535f85 Cr-Commit-Position: refs/heads/master@{#12639}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Create helper function to determine if the SessionDescriptionContains rtx codec. #

Total comments: 1

Patch Set 3 : Move the place of the EXPECT. #

Total comments: 1

Patch Set 4 : Rename the functions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -12 lines) Patch
M webrtc/api/webrtcsession_unittest.cc View 1 2 3 3 chunks +20 lines, -12 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
Zhi Huang
Tested 2000 times without failure.
4 years, 8 months ago (2016-04-22 22:53:31 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/1919523002/diff/1/webrtc/api/webrtcsession_unittest.cc File webrtc/api/webrtcsession_unittest.cc (right): https://codereview.webrtc.org/1919523002/diff/1/webrtc/api/webrtcsession_unittest.cc#newcode4299 webrtc/api/webrtcsession_unittest.cc:4299: EXPECT_TRUE(offer_sdp.find("rtx") != std::string::npos); We might as well use the ...
4 years, 8 months ago (2016-04-23 00:05:14 UTC) #4
Zhi Huang
https://codereview.webrtc.org/1919523002/diff/1/webrtc/api/webrtcsession_unittest.cc File webrtc/api/webrtcsession_unittest.cc (right): https://codereview.webrtc.org/1919523002/diff/1/webrtc/api/webrtcsession_unittest.cc#newcode4299 webrtc/api/webrtcsession_unittest.cc:4299: EXPECT_TRUE(offer_sdp.find("rtx") != std::string::npos); On 2016/04/23 00:05:14, Taylor Brandstetter wrote: ...
4 years, 8 months ago (2016-04-23 00:51:57 UTC) #5
Taylor Brandstetter
lgtm with just one small suggestion https://codereview.webrtc.org/1919523002/diff/20001/webrtc/api/webrtcsession_unittest.cc File webrtc/api/webrtcsession_unittest.cc (right): https://codereview.webrtc.org/1919523002/diff/20001/webrtc/api/webrtcsession_unittest.cc#newcode4320 webrtc/api/webrtcsession_unittest.cc:4320: EXPECT_FALSE(DescriptionContainsRtxCodec(answer)); nit: Can ...
4 years, 8 months ago (2016-04-23 01:25:40 UTC) #6
pthatcher1
lgtm, although I would prefer the small improvement made before you submit. https://codereview.webrtc.org/1919523002/diff/40001/webrtc/api/webrtcsession_unittest.cc File webrtc/api/webrtcsession_unittest.cc ...
4 years, 7 months ago (2016-05-05 20:28:34 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1919523002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1919523002/60001
4 years, 7 months ago (2016-05-06 01:33:53 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-06 01:37:53 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-06 01:38:01 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3a334656de92eb2ab3dd688a1bd70f0db3535f85
Cr-Commit-Position: refs/heads/master@{#12639}

Powered by Google App Engine
This is Rietveld 408576698