run-tests.sh: unit tests failed locally
I'm on a32e0a3 and thought I'd give ./run-tests.sh a shot. It showed...
❌ Unit tests failed. Printing logs...
... and here are the logs: unit-tests.log.txt
I'm getting set up on a new computer so the problem could definitely be me! 😅
I ran it twice because I noticed this line in the contributing guide...
If you have not used the run-tests.sh before, you have to create a
directory dv and a file dv/bootstrap.exposed.env
... and I do have a populated bootstrap.exposed.env file.
Thanks for the check and sharing the logs. I’ve identified the first issue, which is related to a hard-coded Dataverse version 6.3. This version should either be set manually or dynamically inferred from the container that is started.
As for the other failed tests, I’m not sure what the exact issue is. It seems like the request has failed, but it doesn’t specify the reason. I’ve run the tests manually on my machine, and they don’t fail, so it could be related to the containers. I’ll check what’s going on.