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

Issue 2894933002: Ensure clock advances in test between create and exit. (Closed)

Created:
3 years, 7 months ago by bcwhite
Modified:
3 years, 7 months ago
CC:
chromium-reviews, danakj+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure clock advances in test between create and exit. There is a check in the tracker to ignore processes with a create- time greater or equal than the current time in order to not mistake a currently-running process that has reused a PID for an exited one. BUG=723060 Review-Url: https://codereview.chromium.org/2894933002 Cr-Commit-Position: refs/heads/master@{#473873} Committed: https://chromium.googlesource.com/chromium/src/+/f04e36c1450b210d10cbffb115c72c6676b58a8e

Patch Set 1 #

Total comments: 2

Patch Set 2 : use past stamp when setting owner #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -28 lines) Patch
M base/debug/activity_tracker_unittest.cc View 1 6 chunks +23 lines, -28 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
bcwhite
3 years, 7 months ago (2017-05-19 17:05:49 UTC) #3
manzagop (departed)
https://codereview.chromium.org/2894933002/diff/1/base/debug/activity_tracker_unittest.cc File base/debug/activity_tracker_unittest.cc (right): https://codereview.chromium.org/2894933002/diff/1/base/debug/activity_tracker_unittest.cc#newcode467 base/debug/activity_tracker_unittest.cc:467: while (Time::Now().ToInternalValue() <= stamp) Could you instead use a ...
3 years, 7 months ago (2017-05-19 17:35:21 UTC) #7
bcwhite
https://codereview.chromium.org/2894933002/diff/1/base/debug/activity_tracker_unittest.cc File base/debug/activity_tracker_unittest.cc (right): https://codereview.chromium.org/2894933002/diff/1/base/debug/activity_tracker_unittest.cc#newcode467 base/debug/activity_tracker_unittest.cc:467: while (Time::Now().ToInternalValue() <= stamp) On 2017/05/19 17:35:21, manzagop wrote: ...
3 years, 7 months ago (2017-05-19 18:04:07 UTC) #12
manzagop1
lgtm
3 years, 7 months ago (2017-05-19 18:05:45 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2894933002/20001
3 years, 7 months ago (2017-05-19 18:11:21 UTC) #16
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 7 months ago (2017-05-19 18:11:23 UTC) #18
manzagop (departed)
lgtm
3 years, 7 months ago (2017-05-23 12:52:26 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2894933002/20001
3 years, 7 months ago (2017-05-23 12:53:21 UTC) #21
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 13:09:40 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f04e36c1450b210d10cbffb115c7...

Powered by Google App Engine
This is Rietveld 408576698