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

Issue 2344673002: Fix DesktopEngagementServiceTest.TestTimeoutDiscount unittests (Closed)

Created:
4 years, 3 months ago by gayane -on leave until 09-2017
Modified:
4 years, 3 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix DesktopEngagementServiceTest.TestTimeoutDiscount unittests Fixing the flaky unittest by correcting the wrong measurement units. This CL also enables the test for mac bots. BUG=645538, 646758 Committed: https://crrev.com/68de0eb04f00eed4467bb743eccaec1b92dba132 Cr-Commit-Position: refs/heads/master@{#419000}

Patch Set 1 #

Total comments: 2

Patch Set 2 : convert to milliseconds #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -17 lines) Patch
M chrome/browser/metrics/desktop_session_duration/desktop_session_duration_tracker_unittest.cc View 1 2 2 chunks +8 lines, -13 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
gayane -on leave until 09-2017
PTAL
4 years, 3 months ago (2016-09-14 21:54:14 UTC) #3
Alexei Svitkine (slow)
(You may also need to rebase on top of the class rename CL.) https://codereview.chromium.org/2344673002/diff/1/chrome/browser/metrics/desktop_engagement/desktop_engagement_service_unittest.cc File ...
4 years, 3 months ago (2016-09-15 16:40:22 UTC) #4
gayane -on leave until 09-2017
Thanks Alexei. Converted to milliseconds. https://codereview.chromium.org/2344673002/diff/1/chrome/browser/metrics/desktop_engagement/desktop_engagement_service_unittest.cc File chrome/browser/metrics/desktop_engagement/desktop_engagement_service_unittest.cc (right): https://codereview.chromium.org/2344673002/diff/1/chrome/browser/metrics/desktop_engagement/desktop_engagement_service_unittest.cc#newcode175 chrome/browser/metrics/desktop_engagement/desktop_engagement_service_unittest.cc:175: base::TimeDelta::FromSeconds(inactivity_interval)).ToInternalValue(); On 2016/09/15 16:40:22, ...
4 years, 3 months ago (2016-09-15 18:37:37 UTC) #5
Alexei Svitkine (slow)
lgtm
4 years, 3 months ago (2016-09-15 20:28:14 UTC) #7
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/2344673002/40001
4 years, 3 months ago (2016-09-15 21:00:32 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-15 22:03:38 UTC) #11
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 22:05:19 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/68de0eb04f00eed4467bb743eccaec1b92dba132
Cr-Commit-Position: refs/heads/master@{#419000}

Powered by Google App Engine
This is Rietveld 408576698