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

Issue 2966753002: Fix FecTest.FlexfecTest flakiness caused by seq. num. wraparound. (Closed)

Created:
3 years, 5 months ago by brandtr
Modified:
3 years, 5 months ago
Reviewers:
stefan-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, danilchap, stefan-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix FecTest.FlexfecTest flakiness caused by seq. num. wraparound. The CL in https://codereview.webrtc.org/2918333002/ enabled FecTest.FlexfecTest and also added a sequence number offset between the FEC packets and the media packets. This was to simulate that the sequence numbers were generated from different spaces, i.e., that they belong to different SSRCs. The test does not account for sequence number wraparound, which means that it could fail when the sequence number offset realization was large. This CL fixes the problem by ensuring that the offset always lies in [0, 2^15]. This CL also fixes spelling of UlpfecTest. BUG=webrtc:7912 TESTED=ninja -C out/Debug && third_party/gtest-parallel/gtest-parallel --gtest_filter="*Flexfec*" -r 1000 out/Debug/modules_tests Review-Url: https://codereview.webrtc.org/2966753002 Cr-Commit-Position: refs/heads/master@{#18863} Committed: https://chromium.googlesource.com/external/webrtc/+/fa8567868ecaa869e976f780d799062fb1aee915

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
brandtr
3 years, 5 months ago (2017-06-30 13:00:13 UTC) #6
stefan-webrtc
Some compile errors to fix, but otherwise this lgtm
3 years, 5 months ago (2017-06-30 13:04:55 UTC) #7
brandtr
On 2017/06/30 13:04:55, stefan-webrtc wrote: > Some compile errors to fix, but otherwise this lgtm ...
3 years, 5 months ago (2017-06-30 13:10:59 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2966753002/1
3 years, 5 months ago (2017-06-30 13:24:33 UTC) #10
commit-bot: I haz the power
3 years, 5 months ago (2017-06-30 14:22:20 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/external/webrtc/+/fa8567868ecaa869e976f780d...

Powered by Google App Engine
This is Rietveld 408576698