fix hanging travis test

This commit is contained in:
JT Olio 2018-05-08 17:01:46 -06:00 committed by JT Olds
parent 2ef8e581b2
commit 78989a2d5a
2 changed files with 2 additions and 1 deletions

View File

@ -30,3 +30,4 @@ build-dev-deps:
test: lint
go install -v ./...
go test ./...
@echo done

View File

@ -16,7 +16,7 @@ var (
)
func TestMetrics(t *testing.T) {
s, err := Listen(":0")
s, err := Listen("127.0.0.1:0")
assert.NoError(t, err)
defer s.Close()