Bug 1354750 - Disable loading mozlog plugin with pytest for wpt, r=ato

Loading mozlog from within the executor process makes us prone to
deadlocks since we can't guarantee that the log mutex isn't acquired
when we fork() the parent process, and the python multiprocessing
module doesn't respect posix guidelines about execv()ing a new process
after a fork().

To avoid this specific instance of the probelm we stop pytest loading
the mozlog plugin which we aren't actually using but is loaded by
default when mozlog is available.

MozReview-Commit-ID: IIllNZVOUJz

--HG--
extra : rebase_source : 9281a4d72c82038589937a4f743e1a2447439e95
This commit is contained in:
James Graham 2017-06-21 16:46:39 +01:00
Родитель 4cf577eb4e
Коммит bd8dfcf6a3
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -56,6 +56,7 @@ def run(path, server_config, session_config, timeout=0):
"--verbose", # show each individual subtest
"--capture", "no", # enable stdout/stderr from tests
"--basetemp", cache, # temporary directory
"-p", "no:mozlog",
path],
plugins=plugins)