Skip to content

Commit

Permalink
add scheme to redis test connection strings
Browse files Browse the repository at this point in the history
  • Loading branch information
jipperinbham committed Jun 20, 2015
1 parent c9e2bfa commit 04436f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/redis/redis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down Expand Up @@ -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},
Expand Down

0 comments on commit 04436f2

Please sign in to comment.