Closed
Bug 1335164
Opened 8 years ago
Closed 8 years ago
websocketprocessbridge should be installed conditionally based on a more specific test
Categories
(Testing :: General, defect)
Tracking
(firefox54 fixed)
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: chmanchester, Assigned: chmanchester)
References
Details
Attachments
(1 file)
Right now we're doing it based on the presence of a "mochitest" directory on the tester. So if we re-organize the test archives, it might break.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → cmanchester
Assignee | ||
Comment 1•8 years ago
|
||
Comment hidden (mozreview-request) |
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8831820 [details]
Bug 1335164 - Install websocketprocessbridge with a more specific test.
https://reviewboard.mozilla.org/r/108342/#review109448
It looks fine to me, but I'm not a peer on the test harness stuff. Not sure if I can r+ for this code.
Attachment #8831820 -
Flags: review?(docfaraday)
Assignee | ||
Updated•8 years ago
|
Attachment #8831820 -
Flags: review?(jlund)
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8831820 [details]
Bug 1335164 - Install websocketprocessbridge with a more specific test.
https://reviewboard.mozilla.org/r/108342/#review109606
::: testing/mozharness/scripts/android_emulator_unittest.py:176
(Diff revision 1)
> def _pre_create_virtualenv(self, action):
> dirs = self.query_abs_dirs()
> requirements = None
> - if os.path.isdir(dirs['abs_mochitest_dir']):
> - # mochitest is the only thing that needs this
> + if self.test_suite == 'mochitest-media':
> + # mochitest-media is the only thing that needs this
> requirements = os.path.join(dirs['abs_mochitest_dir'],
iiuc, we are still relying on the presence of the mochitest dir for this right? Is the goal to simply reduce the amount of times we install websocketprocessbridge to suites that actually need it?
Attachment #8831820 -
Flags: review?(jlund) → review+
Assignee | ||
Comment 5•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8831820 [details]
Bug 1335164 - Install websocketprocessbridge with a more specific test.
https://reviewboard.mozilla.org/r/108342/#review109606
> iiuc, we are still relying on the presence of the mochitest dir for this right? Is the goal to simply reduce the amount of times we install websocketprocessbridge to suites that actually need it?
Right, we need that directory if we're trying to run mochitests. The issue is that we're trying to re-organize the test archives a bit, and it will no longer be the case that the existence of the "mochitest" directory implies the existence of the "mochitest/websocketprocessbridge" directory, as seen attempting to land bug 1330421.
Pushed by cmanchester@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d4d8cfdd6a7b
Install websocketprocessbridge with a more specific test. r=jlund
Comment 7•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•