Closed Bug 1255563 Opened 8 years ago Closed 8 years ago

Android ./mach xpcshell-test does not set sequential option

Categories

(Testing :: XPCShell Harness, defect)

defect
Not set
normal

Tracking

(firefox48 fixed)

RESOLVED FIXED
mozilla48
Tracking Status
firefox48 --- fixed

People

(Reporter: gbrown, Assigned: gbrown)

Details

Attachments

(1 file)

Running multi-threaded xpcshell tests is arguably too demanding for Android. In automation, Android xpcshell runs with option.sequential = True. I'm sure 'mach xpcshell-test' also set sequential in the past, but it does not currently. Running locally, I see lots of tests timing out.
Lost in the option shuffling of http://hg.mozilla.org/mozilla-central/rev/a824847677c5.
With this patch I see:

  MainThread INFO Running tests sequentially.

and timeouts and failures are eliminated (tested with 'mach xpcshell-test netwerk/test/unit' against the Android 4.3 emulator).

(I am also sneaking in a string change, trying to make it more clear that the typical cause of a missing APK is that it isn't built / isn't in the objdir.)
Attachment #8729183 - Flags: review?(jmaher)
Comment on attachment 8729183 [details] [diff] [review]
run sequentially in 'mach xpcshell-test'

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

nice little extra cleanup!
Attachment #8729183 - Flags: review?(jmaher) → review+
https://hg.mozilla.org/mozilla-central/rev/7efd06a8a4ab
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: