Replies: 1 comment 5 replies
-
Test.DockerDb.Tests.zip |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
So I'm trying to set up unit tests that talk to my database running in docker container. I used this library, and for now it's mostly code copied from this file and corresponding fixture.
I am able to start the container up, I see logs indicating that DB is running, I can execute scripts using
sqlcmd
command, but the ConnectionEstablished test keeps failing and I can't understand why.Can't connect to the DB via ms sql management studio as well.
I'm positive I'm using correct port# when connecting through management studio.
I'm on Windows with WSL, and I have docker installed as part of Rancher Desktop.
What can be the reason of connection failing to establish and what should I check/change to fix this issue?
Beta Was this translation helpful? Give feedback.
All reactions