• Dmitry Vyukov's avatar
    net/http/fcgi: fix test · 04a3a744
    Dmitry Vyukov authored
    Currently the test fails if run more than once:
    
    $ go test -v -run=TestChildServeCleansUp -cpu=1,1 net/http/fcgi
    === RUN TestChildServeCleansUp
    --- PASS: TestChildServeCleansUp (0.00s)
    === RUN TestChildServeCleansUp
    fatal error: all goroutines are asleep - deadlock!
    
    The problem is that the writer mutates test input data,
    so it is wrong on the second execution.
    
    Change-Id: I4ca54dd2926c6986b2908023ac65e5e65630ed26
    Reviewed-on: https://go-review.googlesource.com/6383Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    04a3a744
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...