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)

Version 3
defect
Not set
normal

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: nobody → cmanchester
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)
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+
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
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: