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

Issue 2097793003: Using fake clock for TURN port tests and un-disabling some tests. (Closed)

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

Using fake clock for TURN port tests and un-disabling some tests. The fake clock has a few advantages: 1. It lets use verify that operations take the expected number of round trips. 2. It makes the tests faster by letting us remove the equivalent of "Sleep(500)" all over the tests. 3. It makes the tests less flaky, because sometimes sleeping for 500ms or waiting for 1s is not enough. R=honghaiz@webrtc.org, pthatcher@webrtc.org Committed: https://crrev.com/716d07a2414389638eba6ed03b704bf752a269ef Cr-Commit-Position: refs/heads/master@{#13304}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Revising comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+299 lines, -221 lines) Patch
M webrtc/base/gunit.h View 4 chunks +46 lines, -29 lines 0 comments Download
M webrtc/base/virtualsocketserver.cc View 1 chunk +4 lines, -1 line 1 comment Download
M webrtc/p2p/base/turnport_unittest.cc View 1 48 chunks +246 lines, -189 lines 0 comments Download
M webrtc/p2p/base/turnserver.cc View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Taylor Brandstetter
While I was updating the TURN test yesterday, I noticed some ugly things here (such ...
4 years, 6 months ago (2016-06-24 16:33:40 UTC) #1
Taylor Brandstetter
Forgot to add reviewers. Repeat of previous comment: While I was updating the TURN test ...
4 years, 6 months ago (2016-06-24 16:34:32 UTC) #3
honghaiz3
lgtm
4 years, 5 months ago (2016-06-27 18:21:36 UTC) #4
pthatcher1
lgtm Nice work.
4 years, 5 months ago (2016-06-27 19:42:02 UTC) #5
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/2097793003/20001
4 years, 5 months ago (2016-06-27 20:13:57 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/9040)
4 years, 5 months ago (2016-06-27 20:25:07 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/716d07a2414389638eba6ed03b704bf752a269ef Cr-Commit-Position: refs/heads/master@{#13304}
4 years, 5 months ago (2016-06-27 21:07:57 UTC) #12
Taylor Brandstetter
4 years, 5 months ago (2016-06-27 21:07:59 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
716d07a2414389638eba6ed03b704bf752a269ef (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698