common: use 127.0.0.1 instead of localhost for external test services

This commit is contained in:
Vincent Bernat
2024-01-20 08:29:32 +01:00
parent 4a57486ba1
commit b49abde028
3 changed files with 3 additions and 3 deletions

View File

@@ -118,7 +118,7 @@ func TestCacheByRequestBody(t *testing.T) {
}
func TestRedis(t *testing.T) {
server := helpers.CheckExternalService(t, "Redis", []string{"redis", "localhost"}, "6379")
server := helpers.CheckExternalService(t, "Redis", []string{"redis", "127.0.0.1"}, "6379")
client := redis.NewClient(&redis.Options{
Addr: server,
DB: 10,