Skip to content

Commit

Permalink
Update http_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
aminsato committed Sep 20, 2023
1 parent c9ef18d commit f98e1b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestServer(t *testing.T) {
handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
})
httpService := makeHTTPService(6060, handler)
httpService := makeHTTPService("http://127.0.0.1:6060", 6060, handler)
wg.Go(func() {
err := httpService.Run(ctx)
// make sure http server shutdown properly
Expand Down

0 comments on commit f98e1b3

Please sign in to comment.