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

Issue 3018493002: Making BasicPortAllocator tests slightly less fragile. (Closed)

Created:
3 years, 3 months ago by Taylor Brandstetter
Modified:
3 years, 3 months ago
Reviewers:
Zhi Huang, pthatcher1
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Making BasicPortAllocator tests slightly less fragile. Many of the tests follow a pattern of "wait for N candidates to be gathered, then (without waiting) assert that gathering is complete". But this only works if the "gathering complete" signal happens in the same task as the last candidate being gathered, which isn't an API guarantee. So the tests will be less fragile if they do the reverse: "wait for gathering to be complete, then (without waiting) assert that N candidates were gathered". Also fixing some somewhat unrelated issues elsewhere. Like a test that was supposed to be waiting for some period of time and ensuring no additional candidates were gathered, but wasn't actually waiting at all. BUG=None Review-Url: https://codereview.webrtc.org/3018493002 Cr-Commit-Position: refs/heads/master@{#19872} Committed: https://webrtc.googlesource.com/src/+/7f1563facf231bf6498703ce34ef3040bb380a76

Patch Set 1 #

Patch Set 2 : Trying to force patch to be uploaded. #

Patch Set 3 : Fixing git confusion. #

Patch Set 4 : Rebase onto master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -74 lines) Patch
M p2p/client/basicportallocator_unittest.cc View 1 2 3 26 chunks +78 lines, -74 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
Taylor Brandstetter
PTAL Peter or Zhi
3 years, 3 months ago (2017-09-14 23:32:55 UTC) #3
Zhi Huang
On 2017/09/14 23:32:55, Taylor Brandstetter wrote: > PTAL Peter or Zhi lgtm.
3 years, 3 months ago (2017-09-15 05:51:47 UTC) #4
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/3018493002/40001
3 years, 3 months ago (2017-09-15 23:00:35 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: ios_arm64_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_arm64_dbg/builds/24089)
3 years, 3 months ago (2017-09-15 23:03:06 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/3018493002/60001
3 years, 3 months ago (2017-09-16 00:10:05 UTC) #11
commit-bot: I haz the power
3 years, 3 months ago (2017-09-16 00:40:07 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://webrtc.googlesource.com/src/+/7f1563facf231bf6498703ce34ef3040bb380a76

Powered by Google App Engine
This is Rietveld 408576698