Closed
Bug 887064
Opened 11 years ago
Closed 11 years ago
Make the xpcshell tests independent so they can run simultaneously
Categories
(Testing :: XPCShell Harness, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mihneadb, Assigned: mihneadb)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 obsolete file)
Right now there are tests that cannot run concurrently (for example those that use httpd with a hardcoded 8080 port).
We need to fix this in order to land the parallel xpcshell suite.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → mihneadb
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
Tests that need to be 'fixed': https://docs.google.com/document/d/1fT1JzXBwIQA5TsC185JDU-uzL1kcXbTFE9nKy0s8atw/edit
Comment 4•11 years ago
|
||
There needs to be some dupe action with bug 884421 or something.
Also, I recommend opening independent bugs for the larger chunks of this work under the components the tests are attached to. e.g. file an Add-on Manager bug to track updating just those tests. Add-on Manager is especially important because they are currently in the midst of a massive rewrite in bug 853388 and your test changes will likely conflict!
Finally, all these bugs should chain up to bug 660788 so we have a way to track the overall effort.
Comment 5•11 years ago
|
||
needinfo myself to check what's up with Places tests
Flags: needinfo?(mak77)
Comment 7•11 years ago
|
||
FWIW, there are quite a few tests in toolkit/ that use hardcoded ports; they tend to use port 4444. I've started fixing them independently, though I'm not very far along. I'll try to post some of the patches soon so we don't duplicate work.
Assignee | ||
Comment 8•11 years ago
|
||
That's great, thank you! Do you mind creating a patch and referencing it here in the depends section?
Thanks!
Assignee | ||
Comment 9•11 years ago
|
||
Comment on attachment 767508 [details] [diff] [review]
services/common/tests/unit
Marking this patch as obsolete since
1. a separate bug needs to be filled for this, keeping bug 887064 (this one) as a tracking bug
2. :gps has offered to help with the services/ tests.
Attachment #767508 -
Attachment is obsolete: true
Assignee | ||
Comment 10•11 years ago
|
||
As discussed on IRC, for Thunderbird and Seamonkey tests we could just add the run-sequentially ini flag to the manifests' default section. Support for that flag comes with the parallel harness, in bug 887054.
Assignee | ||
Comment 11•11 years ago
|
||
Here's a list of intermittent failures (and bugs) that I encountered so far doing try pushes with the patches applied:
indexedDB - 860714
jsdownloads - 865364
netwerk/backgroundfilesaver - 855757
devtools/dbgsocket - 775924
devtools/actor stuff - 810185
image - 867183
extensions/cookie/cookies_read - 595925, 601508, 587767
healthreporter - 850091
Assignee | ||
Comment 12•11 years ago
|
||
All deps are gone.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 13•11 years ago
|
||
Great work. Can you please update https://developer.mozilla.org/en-US/docs/Httpd.js/HTTP_server_for_unit_tests
Keywords: dev-doc-needed
Assignee | ||
Comment 14•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•