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

Issue 2435933004: [sql] Initialize StatisticsRecorder in SQLTestSuite. (Closed)

Created:
4 years, 2 months ago by Scott Hess - ex-Googler
Modified:
4 years, 1 month ago
Reviewers:
Ilya Sherman
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[sql] Initialize StatisticsRecorder in SQLTestSuite. Histograms created using the histogram macros are stored in per-site global storage, so any histogram recorded before StatisticsRecorder::Initialize() are unregistered until the process exits. HistogramTester relies on StatisticsRecorder, so depending on whether HistogramTester is created before or after a particular histogram macro is used, it may or may not be able to find the corresponding histogram. Pull StatisticsRecorder::Initialize() into the test-suite initialization, which should run before any code under test. BUG=658070 Committed: https://crrev.com/1cf87f2750870763cfd8bc4230bd4c0ccc91b7e0 Cr-Commit-Position: refs/heads/master@{#427508}

Patch Set 1 #

Patch Set 2 : Pull fix to SQLTestSuite. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -23 lines) Patch
M sql/connection_unittest.cc View 1 5 chunks +16 lines, -23 lines 0 comments Download
M sql/test/sql_test_suite.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
Scott Hess - ex-Googler
Should be pretty much rubberstamp.
4 years, 2 months ago (2016-10-21 16:38:50 UTC) #6
Ilya Sherman
Interesting... makes sense that this could cause issues, though I don't quite see how it ...
4 years, 2 months ago (2016-10-21 20:28:38 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/2435933004/1
4 years, 1 month ago (2016-10-24 23:06:43 UTC) #9
Scott Hess - ex-Googler
On 2016/10/21 20:28:38, Ilya Sherman wrote: > Interesting... makes sense that this could cause issues, ...
4 years, 1 month ago (2016-10-25 00:04:43 UTC) #10
Scott Hess - ex-Googler
On 2016/10/25 00:04:43, Scott Hess wrote: > tl;dr: Nothing in the test-running system seems to ...
4 years, 1 month ago (2016-10-25 00:06:43 UTC) #12
Ilya Sherman
On 2016/10/25 00:04:43, Scott Hess wrote: > On 2016/10/21 20:28:38, Ilya Sherman wrote: > > ...
4 years, 1 month ago (2016-10-25 01:11:13 UTC) #13
Scott Hess - ex-Googler
Pull fix to SQLTestSuite.
4 years, 1 month ago (2016-10-25 15:13:57 UTC) #14
Scott Hess - ex-Googler
On 2016/10/25 01:11:13, Ilya Sherman wrote: > Ah, I see, that does make sense. Thanks, ...
4 years, 1 month ago (2016-10-25 15:32:41 UTC) #20
Ilya Sherman
On 2016/10/25 15:32:41, Scott Hess wrote: > On 2016/10/25 01:11:13, Ilya Sherman wrote: > > ...
4 years, 1 month ago (2016-10-25 21:03:51 UTC) #21
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/2435933004/20001
4 years, 1 month ago (2016-10-25 22:09:38 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-25 22:18:58 UTC) #25
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 22:23:06 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1cf87f2750870763cfd8bc4230bd4c0ccc91b7e0
Cr-Commit-Position: refs/heads/master@{#427508}

Powered by Google App Engine
This is Rietveld 408576698