nefarious icon indicating copy to clipboard operation
nefarious copied to clipboard

Error connecting to Redis when running tests

Open Zelzahn opened this issue 3 months ago • 2 comments

When I try to run the tests I get the following error: redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused. But the Docker container is running according to how it is described in the DEVELOPMENT.md.

Zelzahn avatar Sep 18 '25 06:09 Zelzahn

@Zelzahn you're right - I forgot to specify a needed update in the docker-compose.yml to fully open up the redis port (for development).

The DEVELOPMENT.md should be updated to reflect that.

lardbit avatar Sep 18 '25 13:09 lardbit

E.g. use ports vs expose in the docker-compose file will truly open the redis port which is required when developing/testing.

lardbit avatar Sep 18 '25 15:09 lardbit