Skip to content

Commit

Permalink
fix: use high port in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
natesales committed Aug 16, 2023
1 parent b0557dd commit 3bf9f7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transport/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func TestTransportHTTPInvalidResolver(t *testing.T) {
}

func TestTransportHTTPServerError(t *testing.T) {
listen := ":53807"
listen := ":5380"
go func() {
http.ListenAndServe(listen, http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
http.Error(w, "Server Error", http.StatusInternalServerError)
Expand All @@ -54,7 +54,7 @@ func TestTransportHTTPServerError(t *testing.T) {
}

func TestTransportHTTPIDMismatch(t *testing.T) {
listen := ":53808"
listen := ":5381"
go func() {
http.ListenAndServe(listen, http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
msg := dns.Msg{}
Expand Down

0 comments on commit 3bf9f7d

Please sign in to comment.