From 14f26ffda88edf05130b5118bcede3a771d6918a Mon Sep 17 00:00:00 2001 From: Luke Hoban Date: Sat, 23 Jan 2016 20:23:36 -0800 Subject: [PATCH] Reenable TestNextNetHTTP on Windows --- proc/proc_test.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/proc/proc_test.go b/proc/proc_test.go index 6359dab5..1ea4e22d 100644 --- a/proc/proc_test.go +++ b/proc/proc_test.go @@ -436,11 +436,6 @@ func TestNextNetHTTP(t *testing.T) { {11, 12}, {12, 13}, } - if runtime.GOOS == "windows" { - // TODO: Reenable once we figure out why this test is hanging. - fmt.Println("Skipping TestNextNetHTTP test") - return - } withTestProcess("testnextnethttp", t, func(p *Process, fixture protest.Fixture) { go func() { for !p.Running() { @@ -448,7 +443,7 @@ func TestNextNetHTTP(t *testing.T) { } // Wait for program to start listening. for { - conn, err := net.Dial("tcp", ":9191") + conn, err := net.Dial("tcp", "localhost:9191") if err == nil { conn.Close() break