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

Issue 2006263004: In BasicPortAllocator test, don't require a specific candidate order. (Closed)

Created:
4 years, 7 months ago by Taylor Brandstetter
Modified:
4 years, 7 months ago
Reviewers:
pthatcher1
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

In BasicPortAllocator test, don't require a specific candidate order. The test doesn't really care about the order; the fact that it relied on a specific order was just an implementation detail. However, this made the test flaky since race conditions sometimes determine the order. It also made it frustrating to add new tests. BUG=webrtc:5930 R=pthatcher@webrtc.org Committed: https://crrev.com/8c9be5e490903ef00c8acf60cfdc11b80f3c621a Cr-Commit-Position: refs/heads/master@{#12936}

Patch Set 1 #

Patch Set 2 : Re-enable the main flaky test that was disabled. #

Total comments: 4

Patch Set 3 : Responding to comments. #

Patch Set 4 : Fixing check for empty raddr #

Patch Set 5 : #

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

Messages

Total messages: 15 (7 generated)
Taylor Brandstetter
4 years, 7 months ago (2016-05-25 18:51:35 UTC) #2
pthatcher1
https://codereview.webrtc.org/2006263004/diff/20001/webrtc/p2p/client/basicportallocator_unittest.cc File webrtc/p2p/client/basicportallocator_unittest.cc (right): https://codereview.webrtc.org/2006263004/diff/20001/webrtc/p2p/client/basicportallocator_unittest.cc#newcode261 webrtc/p2p/client/basicportallocator_unittest.cc:261: return it != candidates.end(); Can't this just be the ...
4 years, 7 months ago (2016-05-25 20:49:05 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/2006263004/diff/20001/webrtc/p2p/client/basicportallocator_unittest.cc File webrtc/p2p/client/basicportallocator_unittest.cc (right): https://codereview.webrtc.org/2006263004/diff/20001/webrtc/p2p/client/basicportallocator_unittest.cc#newcode261 webrtc/p2p/client/basicportallocator_unittest.cc:261: return it != candidates.end(); On 2016/05/25 20:49:05, pthatcher1 wrote: ...
4 years, 7 months ago (2016-05-25 21:48:43 UTC) #4
pthatcher1
lgtm
4 years, 7 months ago (2016-05-26 17:39:47 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2006263004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2006263004/40001
4 years, 7 months ago (2016-05-26 21:40:13 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_x64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_rel/builds/15051)
4 years, 7 months ago (2016-05-26 21:49:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2006263004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2006263004/80001
4 years, 7 months ago (2016-05-26 22:24:21 UTC) #12
Taylor Brandstetter
4 years, 7 months ago (2016-05-26 23:07:45 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
8c9be5e490903ef00c8acf60cfdc11b80f3c621a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698