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

Parallelizing via Free Style Jobs Fails #23

Open
mfuchs opened this issue Mar 20, 2017 · 3 comments
Open

Parallelizing via Free Style Jobs Fails #23

mfuchs opened this issue Mar 20, 2017 · 3 comments

Comments

@mfuchs
Copy link

mfuchs commented Mar 20, 2017

When I parallelize via the free style jobs no exclusion files are created.
This leads to all tests running on all nodes.

I can reproduce this behaviour both on my private Jenkins instance and using the demo.

Steps to reproduce:

  • Install the demo, following the docker steps described here
  • Run the main
  • After main finishes run it again.

Expected results:

  • The second time main is started its 400 tests are split amongst executors, reducing the total execution time.

Actual result:

  • All tests were run on the 5 started executors, leading to 2000 tests run in total.
@mfuchs
Copy link
Author

mfuchs commented Apr 8, 2017

I found the issue:
(!) You need to add a FileParameter to the child job.
For example given that you configured the parallel-test-executor to create a "myexclusions.txt" the you need to add a File Parameter "myexclusions.txt" to the job called by the parallel-test-executor plugin.

I think the WIKI description as well as the demo should be updated to reflect that.

@cohencil
Copy link

Thanks @mfuchs !
I was struggling with this plugin for too long until I read your issue.

I agree, the current WIKI is misleading

@hagzag
Copy link
Member

hagzag commented Aug 15, 2017

@mfuchs you bad ass!
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants