Descriptionnet/http/httputil: Made reverseproxy test less flaky.
The reverseproxy test depended on the behavior of
runtime.NumGoroutines(), which makes no guarantee when
goroutines are reaped. Instead, modify the flushLoop()
to invoke a callback when it returns, so the exit
from the loop can be tested, instead of the number
of gorountines running.
Patch Set 1 #Patch Set 2 : diff -r 6c3ed145bf76 https://code.google.com/p/go #
Total comments: 4
Patch Set 3 : diff -r 6c3ed145bf76 https://code.google.com/p/go #
MessagesTotal messages: 5
|