• Brad Fitzpatrick's avatar
    net/http: fix racy test · 3b73aaaf
    Brad Fitzpatrick authored
    We need to wait for the handler to actually finish running,
    not almost be done running.
    
    This was always a bug, but now that handler output is buffered
    it shows up easily on GOMAXPROCS >1 systems.
    
    R=golang-dev, iant
    CC=golang-dev
    https://golang.org/cl/7109043
    3b73aaaf
serve_test.go 40.3 KB