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

Multi-DB commands parallel:<command>:<database> #967

Open
elemisek opened this issue Jul 25, 2024 · 1 comment
Open

Multi-DB commands parallel:<command>:<database> #967

elemisek opened this issue Jul 25, 2024 · 1 comment

Comments

@elemisek
Copy link

Commands such as rake parallel:create:<database> are failing for me. I've tried both with the names from database.yml and the actual db names, but the error suggests there might be an issue with the syntax.

README:

(Multi-DB) Create individual database

rake parallel:create:<database>
rake parallel:create:secondary

ERROR:

> rake parallel:create:primary
rake aborted!
Don't know how to build task 'parallel:create:primary' (See the list of available tasks with `rake --tasks`)
Did you mean?  parallel:create
@grosser
Copy link
Owner

grosser commented Jul 26, 2024

these should come from https://github.com/grosser/parallel_tests/blob/master/lib/parallel_tests/tasks.rb#L169
so bundle open parallel_tests and see why it does not work, maybe db config is not loaded at that point

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