mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
common: use 127.0.0.1 instead of localhost for external test services
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user