net: deflake TestAcceptTimeout
This change makes use of synchronization primitive instead of context-based canceling not to depend on defer execution scheduling. Fixes #17927. Change-Id: I5ca9287a48bb5cdda6845a7f12757f95175c5db8 Reviewed-on: https://go-review.googlesource.com/33257Reviewed-by: Ian Lance Taylor <iant@golang.org>
Showing
Please register or sign in to comment