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

Parallel + split working with server, but not regular test #122

Open
samselikoff opened this issue Nov 22, 2017 · 6 comments
Open

Parallel + split working with server, but not regular test #122

samselikoff opened this issue Nov 22, 2017 · 6 comments

Comments

@samselikoff
Copy link
Contributor

I just installed ember-exam on a new project. Running

ember exam -s --split=4 --parallel

works great (4 Chrome instances open up), but running

ember exam --split=4 --parallel

doesn't seem to parallelize anything. Only one browser opens and my tests just run through to completion.

Any ideas on how to diagnose?

@lolmaus
Copy link

lolmaus commented Dec 4, 2017

Did you add loadEmberExam() to test-helper.js?

See https://github.com/trentmwillis/ember-exam#how-to-use .

@trentmwillis
Copy link
Member

Sounds like it is potentially a Testem bug, as the processing that Ember Exam does is the same for both modes. Can't say much more than that unfortunately. A reproduction would be helpful if the issue is still occurring.

@samselikoff
Copy link
Contributor Author

@lolmaus yep, and parallelization does work with ember exam -s. Just not ember exam.

@samselikoff
Copy link
Contributor Author

The issue was with the parallel flag not being set in testem config. There's a note about this but I missed it. Can I PR the docs to move the note to the top of the "Split" section?

@lolmaus
Copy link

lolmaus commented Dec 15, 2017

Same happened to me. The installation instructions do need to be grouped in one Readme section and emphasized more.

@samselikoff Looking forward to your edit.

@BobrImperator
Copy link

BobrImperator commented May 20, 2019

For anyone encounterint this problem, this resolved the problem for me.
#270

ember exam --split=2 --parallel=1 --random just runs
With the parallel set to -1 in testem.

@Turbo87 Turbo87 removed the support label Dec 10, 2021
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

5 participants