Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect doesn't work with mp #304

Open
dmakhno opened this issue Aug 9, 2016 · 0 comments
Open

Collect doesn't work with mp #304

dmakhno opened this issue Aug 9, 2016 · 0 comments
Assignees

Comments

@dmakhno
Copy link

dmakhno commented Aug 9, 2016

$ pip show nose2

Metadata-Version: 1.1
Name: nose2
Version: 0.6.5

$ uname -a
Darwin local 14.5.0 Darwin Kernel Version 14.5.0: Thu Apr 21 20:40:54 PDT 2016; root:xnu-2782.50.3~1/RELEASE_X86_64 x86_64

config

[unittest]
plugins = nose2.plugins.collect
          nose2.plugins.mp


[multiprocess]
always-on = True
processes = 8

[collect-only]
always-on = True

running
nose2 -v -c unittest.cfg -s my_tests

Under debug I see that CollectOnly.startTestRun is called earlier than CollectOnly.registerInSubprocess as results tests are not collected and have normal run.
CollectOnly.startSubprocess is never called.
I'm new in nose2 and don't know is it real reason and the issue or I'm doing something wrong.

@ptthiem ptthiem self-assigned this Nov 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants