diff --git a/_fixtures/testnextnethttp.go b/_fixtures/testnextnethttp.go index 403952c5..afd5b7ab 100644 --- a/_fixtures/testnextnethttp.go +++ b/_fixtures/testnextnethttp.go @@ -12,5 +12,5 @@ func main() { header := w.Header().Get("Content-Type") w.Write([]byte(msg + header)) }) - http.ListenAndServe(":8080", nil) + http.ListenAndServe(":9191", nil) } diff --git a/proc/proc_test.go b/proc/proc_test.go index 9381b465..10df688e 100644 --- a/proc/proc_test.go +++ b/proc/proc_test.go @@ -324,14 +324,14 @@ func TestNextNetHTTP(t *testing.T) { } // Wait for program to start listening. for { - conn, err := net.Dial("tcp", ":8080") + conn, err := net.Dial("tcp", ":9191") if err == nil { conn.Close() break } time.Sleep(50 * time.Millisecond) } - http.Get("http://localhost:8080") + http.Get("http://localhost:9191") }() if err := p.Continue(); err != nil { t.Fatal(err)