-
Notifications
You must be signed in to change notification settings - Fork 145
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
Postgres database connections are jumbled up after running tests and restarting the application #292
Comments
I think the issue might be caused by the fact that the |
One solution would be to not restart (defn start []
(mount/start-without #'app.core/repl-server
#'app.config/env))
(defn stop []
(mount/stop-except #'app.core/repl-server
#'app.config/env)) |
I finally got around to resolving this. The new template no longer uses |
Postgres database connections are jumbled up after running
lein repl
andlein test
consecutively, reloading the database namespace and restarting the application.Luminus version: 2.9.11.60
Clojure version: 1.8.0
Java version: 1.8.0_131
Steps to reproduce
lein repl
and(start)
the application.lein test
and wait till the test is completed.test
profile instead ofdev
. To verify, add a new user usingcreate-user!
, the new user now appears in thetest
database, which is incorrect.The text was updated successfully, but these errors were encountered: