Permalink
Browse files

Reduce the test concurrency.

So many tests in Mozc have been written with an assumption that system
has plenty of idle logical CPU cores.  The factor 2x in the test
concurrency has been probably too aggressive and caused many flaky test
failures.

No behavior change is intended in production binaries.

BUG=
TEST=unittest
REF_BUG=
REF_CL=106273055
  • Loading branch information...
1 parent f77a2e7 commit 446b53be16be2b58ebe41e254834bdb928df9ad4 @yukawa yukawa committed Nov 2, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/build_mozc.py
View
@@ -571,7 +571,7 @@ def ParseRunTestsOptions(args=None, values=None):
parser.add_option('--jobs', '-j', dest='jobs',
default=('%d' % default_build_concurrency),
metavar='N', help='run build jobs in parallel')
- default_test_jobs = GetNumberOfProcessors() * 2
+ default_test_jobs = GetNumberOfProcessors()
parser.add_option('--test_jobs', dest='test_jobs', type='int',
default=default_test_jobs,
metavar='N', help='run test jobs in parallel')

0 comments on commit 446b53b

Please sign in to comment.