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

Add the ability to run tests concurrently #14

Open
thedrow opened this issue Oct 11, 2015 · 1 comment
Open

Add the ability to run tests concurrently #14

thedrow opened this issue Oct 11, 2015 · 1 comment

Comments

@thedrow
Copy link
Contributor

thedrow commented Oct 11, 2015

Since end to end tests are usually time consuming, the ability to run the tests concurrently will help shortening each test cycle.

@crdoconnor
Copy link
Contributor

It actually might not. The service startup code is substantially parallelized and in the example test, for instance, starting postgres, celery, django, redis and firefox all at the same time chews up all of my CPU cores (not to mention I/O).

I tried running two tests side by side in their own virtual machine and it ran slower than running them sequentially in the VM.

If you have a substantial number of CPU cores (e.g. 32 or 64), it might be worth figuring out a way to parallelize tests on one machine, but at the moment most people seem to have 4 or 8 at most.

I am working on a way to parallelize test runs by running each test in its own short-lived virtual machine on a platform like EC2. This will let you run, say, 500 x 1 minute tests in parallel in just one minute rather than 8 hours. Stay tuned - that is coming.

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

2 participants