Add DOCKER_HOST support for tests
This allows to run tests in environments where DOCKER_HOST is used. This is extremely helpful when using boot2docker to run docker
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
func TestMemcachedGeneratesMetrics(t *testing.T) {
|
||||
m := &Memcached{
|
||||
Servers: []string{"localhost"},
|
||||
Servers: []string{testutil.GetLocalHost()},
|
||||
}
|
||||
|
||||
var acc testutil.Accumulator
|
||||
|
||||
Reference in New Issue
Block a user