-
Notifications
You must be signed in to change notification settings - Fork 3
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 tests are broken #9
Comments
Dune has a Another motivation I have for rethinking this is that if someone (like myself) already has set up access to a personal database, then we want to avoid accidentally creating tables in its public namespace when the |
Thanks for the tip! To avoid accidentally creating or deleting tables, I can require mandatory prefixed env vars, something like:
Would that work for you? Env vars are pretty flexible IMO, and make it so we never have to worry about committing sensitive data by accident. We can simulate having something close to a config file for free using a tool such as envdir, from the
So one could run the test suite like such:
|
I think adding a prefix to the variables is good, since it allows people to set the variables globally if they wish, without affecting other applications. However, we would also need to drop the (I didn't know about |
Sounds good to me. I'll make this a failing condition.
Yes that's another way to do it. I'll write a little wrapper script to make things easy to manage. |
I get random test failures, which I think are due to separate project's trying to setup the database at the same time.
For instance :
Quick-fix solution: build and/or test with one worker.
Or:
It'd be nice to find a better solution. Maybe something like:
The text was updated successfully, but these errors were encountered: