fix hanging travis test
This commit is contained in:
parent
2ef8e581b2
commit
78989a2d5a
1
Makefile
1
Makefile
@ -30,3 +30,4 @@ build-dev-deps:
|
|||||||
test: lint
|
test: lint
|
||||||
go install -v ./...
|
go install -v ./...
|
||||||
go test ./...
|
go test ./...
|
||||||
|
@echo done
|
||||||
|
@ -16,7 +16,7 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestMetrics(t *testing.T) {
|
func TestMetrics(t *testing.T) {
|
||||||
s, err := Listen(":0")
|
s, err := Listen("127.0.0.1:0")
|
||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
defer s.Close()
|
defer s.Close()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user