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
The default "yarn test" command runs ALL tests 3 times #1369
Comments
Technically we should change A good question: is there even any indication that running the tests in parallel with In a single container where you wanted to run two partitions, and run the third in a separate container, you would do You could extend this to a non-containerized environment and run |
At this point, locally, due to the issue linked above, it's actually slower to enable parallelism (3x slower, to be exact). On CI, we disable parallelization anyway. Assuming the issue is fixed, we ought to probably benchmark, but it would likely vary across user machines. What we need to consider here is not just CI, though.
With this being an ember app, most developers are used to However, |
We use We can change from |
It's not a matter of speeding up for me, since I use It's a matter of there being a "default" command ( I'm thinking something like
|
Then we can just amend |
Problem
On my machine, when I run
yarn test
, oryarn test --silent
, all tests execute 3 times. The desired behavior, since this actually executesember exam --split=3 --weighted --parallel
would be that 3 partitions would run, each running a fraction of the tests. In addition to that, the 3 partitions run consecutively, not in parallel.This seems to be related to ember-cli/ember-exam#108 and, following the conversations there and adding
parallel: -1
to testem.js seems to cause the partitions to execute in paralel, but each partition still runs all of the tests in the suite.The text was updated successfully, but these errors were encountered: