Closed
Bug 984014
Opened 11 years ago
Closed 11 years ago
Telemetry experiments: test update mechanism
Categories
(Firefox Health Report Graveyard :: Client: Desktop, defect)
Firefox Health Report Graveyard
Client: Desktop
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 31
People
(Reporter: gfritzsche, Assigned: gfritzsche)
References
Details
Attachments
(1 file)
|
6.42 KB,
patch
|
Felipe
:
review+
|
Details | Diff | Splinter Review |
Add test coverage for updating to test_api.js from bug 974009 or add new test with similar pattern.
* add e.g. browser/experiments/test/experiment-1a.xpi
* fetch manifest that provides experiment-1.xpi
* trigger experiment-1 activation
* fetch manifest with experiment-1a.xpi
* check that experiment-1a.xpi is now active (e.g. changed name or description)
| Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → georg.fritzsche
Status: NEW → ASSIGNED
Attachment #8392194 -
Flags: review?(felipc)
Comment 2•11 years ago
|
||
Are we going to use this bug or another to cover the other cases where a manifest is updated? In particular:
* check that "disabled" force-kills an experiment
* check that "frozen" *doesn't* force-kill a runnin experiment but does prevent it from starting
* check that removing the experiment from the manifest completely doesn't force-kill the experiment but the current conditions still apply
Flags: needinfo?(georg.fritzsche)
| Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Benjamin Smedberg [:bsmedberg] from comment #2)
> Are we going to use this bug or another to cover the other cases where a
> manifest is updated?
Filed bug 984387.
| Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(georg.fritzsche)
Comment 4•11 years ago
|
||
Comment on attachment 8392194 [details] [diff] [review]
Test updating active experiment.
Review of attachment 8392194 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/experiments/test/xpcshell/test_api.js
@@ +724,5 @@
> + list = yield experiments.getExperiments();
> + Assert.equal(list.length, 1, "Experiment list should have 1 entry now.");
> + Assert.equal(list[0].id, EXPERIMENT1_ID, "Experiment 1 should be the sole entry.");
> + Assert.equal(list[0].active, true, "Experiment 1 should be active.");
> + Assert.equal(list[0].name, "Test experiment 1", "Experiments name should match.");
we should probably have the strings "Test experiment 1" and "Test experiment 1.1" (below) as consts together with EXPERIMENT1A_XPI_NAME et al.
Attachment #8392194 -
Flags: review?(felipc) → review+
| Assignee | ||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 31
Updated•7 years ago
|
Product: Firefox Health Report → Firefox Health Report Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•