Closed Bug 1127523 Opened 9 years ago Closed 9 years ago

Allow functional tests to be run against any loop-server

Categories

(Hello (Loop) :: Client, defect)

defect
Not set
normal
Points:
1

Tracking

(Not tracked)

RESOLVED FIXED
mozilla38
Iteration:
38.2 - 9 Feb

People

(Reporter: standard8, Assigned: standard8)

Details

Attachments

(1 file, 1 obsolete file)

I whipped this patch together earlier, it allows the functional tests to be run against any server. All you need to do is change:

LOOP_SERVER=/path/to/server ./mach marionette-test browser/components/loop/test/functional/manifest.ini

to

LOOP_SERVER=http://localhost:5000 ./mach marionette-test browser/components/loop/test/functional/manifest.ini

The content server is according to the loop-server for now, although I think we could adjust it if we want to - I'll probably do that in a separate bug.
Simple patch, if it starts with http then use a different server.
Attachment #8556685 - Flags: review?(dmose)
Comment on attachment 8556685 [details] [diff] [review]
Allow functional tests to be run against any loop-server. NPOTB DONTBUILD

Review of attachment 8556685 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good; r=dmose.
Attachment #8556685 - Flags: review?(dmose) → review+
and now for the patch that had the slightly less hacky version, but now also works.
Attachment #8556685 - Attachment is obsolete: true
Attachment #8556725 - Flags: review?(dmose)
Comment on attachment 8556725 [details] [diff] [review]
Allow functional tests to be run against any loop-server. NPOTB DONTBUILD

Review of attachment 8556725 [details] [diff] [review]:
-----------------------------------------------------------------

Looks even better. r=dmose
Attachment #8556725 - Flags: review?(dmose) → review+
https://hg.mozilla.org/integration/fx-team/rev/533c6020d5a9
Iteration: --- → 38.2 - 9 Feb
Points: --- → 1
Target Milestone: --- → mozilla38
https://hg.mozilla.org/mozilla-central/rev/533c6020d5a9
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: