Closed
Bug 747163
Opened 13 years ago
Closed 13 years ago
TelemetryHistogramType returns failure for HISTOGRAM_FLAG
Categories
(Toolkit :: Telemetry, defect)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: graememcc, Assigned: graememcc)
References
Details
Attachments
(1 file, 1 obsolete file)
2.98 KB,
patch
|
taras.mozilla
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•13 years ago
|
||
...and here's why!
Attachment #616736 -
Flags: review?(taras.mozilla)
Comment 2•13 years ago
|
||
Comment on attachment 616736 [details] [diff] [review]
v1
This needs Telemetry.histogramFrom testcase added for a flag histogram. I'm guessing you stumbled upon this because it caused an error on startup?
Attachment #616736 -
Flags: review?(taras.mozilla) → review+
Assignee | ||
Comment 3•13 years ago
|
||
> I'm guessing you stumbled upon this because it caused an error on startup?
I added a telemetry flag in bug 724513, which had "cache" in the description, which caused it to get picked up by gatherStartupInfo in TelemetryPing.js, so test_TelemetryPing started failing in the histogramFrom/TelemetryHistogramType call.
I've added a test to exercise histogramFrom for all types, however it uncovered bug 747379. Bugs all the way down!
Attachment #616736 -
Attachment is obsolete: true
Attachment #616988 -
Flags: review?(taras.mozilla)
Comment 4•13 years ago
|
||
Comment on attachment 616988 [details] [diff] [review]
With tests
Graeme, I only see additional implicit {} moving around in this patch, are you sure that's the right patch?
Comment 5•13 years ago
|
||
Comment on attachment 616988 [details] [diff] [review]
With tests
nm. r+ with pointless {} changes undone.
Attachment #616988 -
Flags: review?(taras.mozilla) → review+
Assignee | ||
Comment 6•13 years ago
|
||
Not sure how those brace changes got in there. I probably thought I'd added them when debugging the test failure that became 747379.
Anyway, https://hg.mozilla.org/integration/mozilla-inbound/rev/304cd5d5124b
Status: NEW → ASSIGNED
Flags: in-testsuite+
Target Milestone: --- → mozilla15
Comment 7•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•