Open Bug 1241072 Opened 4 years ago

fix xpcshell harness to run single threaded for each test, even if we are running many tests in parallel

Categories

(Testing :: XPCShell Harness, defect)

defect
Not set

Tracking

(Not tracked)

People

(Reporter: jmaher, Unassigned)

Details

in working on taskcluster we found that when enabling >1 core for ec2 instances our xpcshell tests became much more intermittent:
https://bugzilla.mozilla.org/show_bug.cgi?id=1237024#c1

This is because we use:
from multiprocessing import cpu_count

We should use a different method for determining the accurate amount of cores available.  More info on the slight misreporting here:
http://stackoverflow.com/questions/31346974/portable-way-of-detecting-number-of-usable-cpus-in-python
You need to log in before you can comment on or make changes to this bug.