This commit is contained in:
max furman 2019-09-19 13:17:23 -07:00
parent 81093c3080
commit fe7973c060
14 changed files with 19 additions and 45 deletions

View file

@ -570,8 +570,8 @@ func TestBootstrapListener(t *testing.T) {
return
}
wg := new(sync.WaitGroup)
wg.Add(1)
go func() {
wg.Add(1)
http.Serve(lis, http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("ok"))
}))