From 04436f27c10d240df2dd8d0ebd11f22c262a8207 Mon Sep 17 00:00:00 2001 From: JP Phillips Date: Sat, 20 Jun 2015 14:33:39 -0500 Subject: [PATCH] add scheme to redis test connection strings --- plugins/redis/redis_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/redis/redis_test.go b/plugins/redis/redis_test.go index 52f3c9b62f687..317fde783920c 100644 --- a/plugins/redis/redis_test.go +++ b/plugins/redis/redis_test.go @@ -40,7 +40,7 @@ func TestRedisGeneratesMetrics(t *testing.T) { } }() - addr := l.Addr().String() + addr := fmt.Sprintf("redis://%s", l.Addr().String()) r := &Redis{ Servers: []string{addr}, @@ -131,7 +131,7 @@ func TestRedisCanPullStatsFromMultipleServers(t *testing.T) { } }() - addr := l.Addr().String() + addr := fmt.Sprintf("redis://%s", l.Addr().String()) r := &Redis{ Servers: []string{addr},