use multiprocess to avoid pickle errors in tox on macos
Closes-Bug: #1998146 Change-Id: Id3ccee0f2f6ffb86c67b222f4cb0a869ba8c6bda
This commit is contained in:
parent
d2573fad0d
commit
73e9f40a34
|
@ -22,7 +22,8 @@
|
||||||
nodeset: ubuntu-xenial
|
nodeset: ubuntu-xenial
|
||||||
- tox-py36:
|
- tox-py36:
|
||||||
nodeset: ubuntu-bionic
|
nodeset: ubuntu-bionic
|
||||||
- jjb-tox-cross-jenkins-job-builder
|
- jjb-tox-cross-jenkins-job-builder:
|
||||||
|
nodeset: ubuntu-xenial
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- tox-linters
|
- tox-linters
|
||||||
|
@ -33,4 +34,5 @@
|
||||||
nodeset: ubuntu-xenial
|
nodeset: ubuntu-xenial
|
||||||
- tox-py36:
|
- tox-py36:
|
||||||
nodeset: ubuntu-bionic
|
nodeset: ubuntu-bionic
|
||||||
- jjb-tox-cross-jenkins-job-builder
|
- jjb-tox-cross-jenkins-job-builder:
|
||||||
|
nodeset: ubuntu-xenial
|
||||||
|
|
|
@ -13,3 +13,4 @@ stestr>=2.0.0,!=3.0.0
|
||||||
testscenarios
|
testscenarios
|
||||||
testtools
|
testtools
|
||||||
pre-commit
|
pre-commit
|
||||||
|
multiprocess
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import functools
|
import functools
|
||||||
import json
|
import json
|
||||||
from multiprocessing import Process
|
from multiprocess import Process
|
||||||
from multiprocessing import Queue
|
from multiprocess import Queue
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
from mock import Mock
|
from mock import Mock
|
||||||
|
|
Loading…
Reference in New Issue