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

Issue 2856473002: Disable CpuTimeTest on instrumented builds. (Closed)

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

Description

Disable CpuTimeTest on instrumented builds. The test relies on the ability to run a thread for a controllable duration of time, which is unreliable on instrumented builds (TSan, etc.). Also adding a minimal test which can still be run on instrumented builds, so they at least still exercise the code. BUG=webrtc:7542 TBR=kjellander@webrtc.org Review-Url: https://codereview.webrtc.org/2856473002 Cr-Commit-Position: refs/heads/master@{#17961} Committed: https://chromium.googlesource.com/external/webrtc/+/7311b246609973ae3980a747999e62e025e1e75f

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use EXPECT_GE to be even safer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -2 lines) Patch
M tools-webrtc/valgrind/gtest_exclude/webrtc_nonparallel_tests.gtest-memcheck.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/base/cpu_time_unittest.cc View 1 3 chunks +24 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
Taylor Brandstetter
PTAL
3 years, 7 months ago (2017-04-30 18:14:59 UTC) #2
ilnik
LGTM with nit.
3 years, 7 months ago (2017-05-01 11:16:11 UTC) #3
ilnik
https://codereview.webrtc.org/2856473002/diff/1/webrtc/base/cpu_time_unittest.cc File webrtc/base/cpu_time_unittest.cc (right): https://codereview.webrtc.org/2856473002/diff/1/webrtc/base/cpu_time_unittest.cc#newcode60 webrtc/base/cpu_time_unittest.cc:60: EXPECT_GT(thread_duration_nanos, 0); nit: maybe use EXPECT_GE here?
3 years, 7 months ago (2017-05-01 11:16:19 UTC) #4
Taylor Brandstetter
https://codereview.webrtc.org/2856473002/diff/1/webrtc/base/cpu_time_unittest.cc File webrtc/base/cpu_time_unittest.cc (right): https://codereview.webrtc.org/2856473002/diff/1/webrtc/base/cpu_time_unittest.cc#newcode60 webrtc/base/cpu_time_unittest.cc:60: EXPECT_GT(thread_duration_nanos, 0); On 2017/05/01 11:16:19, ilnik wrote: > nit: ...
3 years, 7 months ago (2017-05-01 17:15:29 UTC) #6
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/2856473002/20001
3 years, 7 months ago (2017-05-01 17:15:41 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/external/webrtc/+/7311b246609973ae3980a747999e62e025e1e75f
3 years, 7 months ago (2017-05-01 17:43:48 UTC) #12
kjellander_webrtc
3 years, 7 months ago (2017-05-02 04:14:15 UTC) #13
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698