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

If there are more processes than features, multiple processes are running the same environment number #89

Closed
triskweline opened this issue Feb 6, 2012 · 3 comments

Comments

@triskweline
Copy link
Contributor

If you run parallel_tests with more processes than you have Cucumber features, you will get errors like this in unexpected places:

Mysql::Error: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT active_record_1 (ActiveRecord::StatementInvalid)

This is caused by multiple processes running the same features on the same database.

@grosser
Copy link
Owner

grosser commented Feb 8, 2012

Thanks for the issue, found the problem and fixed it in 0.6.18 :)

@grosser grosser closed this as completed Feb 8, 2012
@triskweline
Copy link
Contributor Author

You're pretty awesome Michael. The new version works wonderfully.

We're using parallel_tests in 20+ projects at makandra and are very impressed by the lack of pain involved in everything :)

@grosser
Copy link
Owner

grosser commented Feb 8, 2012

Thanks,
its issue 89, so the smoothness may be due to the already solved issues ;)

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