Closed
Bug 656388
Opened 13 years ago
Closed 13 years ago
Rename endurance tests to support running them as restart tests
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: davehunt, Assigned: davehunt)
References
Details
(Whiteboard: [mozmill-endurance])
Attachments
(1 file, 3 obsolete files)
34.14 KB,
patch
|
whimboo
:
review+
|
Details | Diff | Splinter Review |
We want to restart the application between each endurance test by default. In order for this we will need to rename the tests appropriately.
Assignee | ||
Comment 1•13 years ago
|
||
Assignee: nobody → dave.hunt
Attachment #531690 -
Flags: review?(anthony.s.hughes)
Assignee | ||
Comment 2•13 years ago
|
||
Comment on attachment 531690 [details] [diff] [review] Rename endurance tests to support running them as restart tests. v1 Sorry, this inadvertently contains the patch from bug 656258. I'll fix that and provide a new version soon.
Attachment #531690 -
Flags: review?(anthony.s.hughes) → review-
Assignee | ||
Comment 3•13 years ago
|
||
This patch should be cleaner.
Attachment #531690 -
Attachment is obsolete: true
Attachment #531693 -
Flags: review?(anthony.s.hughes)
Comment on attachment 531693 [details] [diff] [review] Rename endurance tests to support running them as restart tests. v1 Review of attachment 531693 [details] [diff] [review]: ----------------------------------------------------------------- This looks okay to me -- r+
Attachment #531693 -
Flags: review?(anthony.s.hughes) → review+
Assignee | ||
Updated•13 years ago
|
Attachment #531693 -
Flags: review?(hskupin)
Comment 5•13 years ago
|
||
Comment on attachment 531693 [details] [diff] [review] Rename endurance tests to support running them as restart tests. v1 >+++ b/tests/endurance/testAddons/test1.js I don't think this level is enough. If you plan to have more tests for a specific subgroup you should add one more level. Also think about that in some circumstances it would be necessary to have multiple tests for one specific restart test.
Attachment #531693 -
Flags: review?(hskupin) → review-
Assignee | ||
Comment 6•13 years ago
|
||
(In reply to comment #5) > Comment on attachment 531693 [details] [diff] [review] [review] > Rename endurance tests to support running them as restart tests. v1 > > >+++ b/tests/endurance/testAddons/test1.js > > I don't think this level is enough. If you plan to have more tests for a > specific subgroup you should add one more level. Also think about that in > some circumstances it would be necessary to have multiple tests for one > specific restart test. Do you have any suggestions? Should I make the current depth more descriptive or introduce a further level of depth? One proposal is below: tests/endurance/ testAddons/testOpenAndCloseAddonManager/test1.js testTabbedBrowsing/testOpenNewTabs/test1.js testTabView/testOpenNewTabs/test1.js testTabView/testSwitchTabs/test1.js
Comment 7•13 years ago
|
||
This proposal looks fine. We only have to make sure to have the subgroups as separate subfolders.
Assignee | ||
Comment 8•13 years ago
|
||
It's not currently possible to add this additional level. I have raised bug 657798 to ensure we revisit this when Mozmill 2.0 is released, however for now we should land this as-is (assuming it otherwise passes review).
Comment 9•13 years ago
|
||
Comment on attachment 531693 [details] [diff] [review] Rename endurance tests to support running them as restart tests. v1 >diff --git a/tests/endurance/testAddons/test1.js b/tests/endurance/testAddons/test1.js We would still have to give the subfolder a meaningful name. In this case s/testAddons/testOpenCloseAddonsManager/. Otherwise how would you name the next test which is add-ons related? Same applies to all the other tests. It's not ideal right now, but we should start this move in a good and clean state.
Assignee | ||
Comment 10•13 years ago
|
||
(In reply to comment #9) > Comment on attachment 531693 [details] [diff] [review] [review] > Rename endurance tests to support running them as restart tests. v1 > > >diff --git a/tests/endurance/testAddons/test1.js b/tests/endurance/testAddons/test1.js > > We would still have to give the subfolder a meaningful name. In this case > s/testAddons/testOpenCloseAddonsManager/. Otherwise how would you name the > next test which is add-ons related? Same applies to all the other tests. > It's not ideal right now, but we should start this move in a good and clean > state. Done.
Attachment #531693 -
Attachment is obsolete: true
Attachment #533214 -
Flags: review?(hskupin)
Comment 11•13 years ago
|
||
Comment on attachment 533214 [details] [diff] [review] Rename endurance tests to support running them as restart tests. v1.1 >+++ b/tests/endurance/testEnterAndLeavePrivateBrowsing/test1.js As discussed with Dave on IRC we should name those sub folder like 'testPrivateBrowsing_EnterAndLeave'. That way we have the right sorting in that folder per subgroup and makes it easier for us later to fold them into their own subfolder once Mozmill 2 has been released.
Attachment #533214 -
Flags: review?(hskupin) → review-
Assignee | ||
Comment 12•13 years ago
|
||
(In reply to comment #11) > Comment on attachment 533214 [details] [diff] [review] [review] > Rename endurance tests to support running them as restart tests. v1.1 > > >+++ b/tests/endurance/testEnterAndLeavePrivateBrowsing/test1.js > > As discussed with Dave on IRC we should name those sub folder like > 'testPrivateBrowsing_EnterAndLeave'. That way we have the right sorting in > that folder per subgroup and makes it easier for us later to fold them into > their own subfolder once Mozmill 2 has been released. Done.
Attachment #533214 -
Attachment is obsolete: true
Attachment #533484 -
Flags: review?(hskupin)
Updated•13 years ago
|
Attachment #533484 -
Flags: review?(hskupin) → review+
Comment 13•13 years ago
|
||
Landed as: http://hg.mozilla.org/qa/mozmill-tests/rev/4a6c0d23b08b (default) http://hg.mozilla.org/qa/mozmill-tests/rev/f8aaa2af0bcc (aurora) http://hg.mozilla.org/qa/mozmill-tests/rev/7776071fd853 (beta) http://hg.mozilla.org/qa/mozmill-tests/rev/9c35ffa32c2b (2.0)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•