Hey folks, trying to run the datahike tests locally with clj -A:test -m kaocha.runner --watch
and getting:
[(.....)(......)([watch] Fatal error in test run #error {
:cause FATAL: role "alice" does not exist
:via
[{:type org.postgresql.util.PSQLException
:message FATAL: role "alice" does not exist
:at [org.postgresql.core.v3.QueryExecutorImpl receiveErrorResponse QueryExecutorImpl.java 2468]}]
:trace
[ (... BIG OL STACKTRACE ...) ]}
It seems to be complaining about a Postgres backend that I assume doesn't exist, as I definitely did not do anything manually to set up a Postgres db. Was going to try to start on the PR I mentioned on Wednesday...thoughts? The https://github.com/replikativ/datahike/blob/development/doc/contributing.md doesn't mention anything about how to run tests.easiest way is ./bin/run-unittests
so this seems to work for me TIMBRE_LEVEL=':fatal' ./bin/kaocha --focus :clj --watch
you might want to avoid the exception messages that we are testing on with a higher TIMBRE_LEVEL
I just add the tests to the contribution page :thumbsup: thanks for pointing that out. Also I changed the script so that you can run a watch with it as well
./bin/run-unittests --watch
works now
Looking forward to your contribution!
sweet, I will pull the latest and have another crack at it this weekend! Thanks!
Just an issue with my clj
being out of date, sorry for the spam!