* test: testcontainers improvements Use the endpoint feature to get the connection URL for the container. There are cases where localhost is not the correct one, for example when DOCKER_HOST is set to another machine. Also, don't specify the external port for the mapping so a random unused port is used, in cases when there is already Valkey/Redis running as a container and port mapped externally on 6379. * also remove this hack, doesn't seem necessary. |
||
|---|---|---|
| .. | ||
| factory.go | ||
| valkey.go | ||
| valkey_test.go | ||