summaryrefslogtreecommitdiffhomepage
path: root/pkg/bits/bits_template.go
diff options
context:
space:
mode:
authorBhasker Hariharan <bhaskerh@google.com>2020-10-23 11:18:53 -0700
committergVisor bot <gvisor-bot@google.com>2020-10-23 11:20:49 -0700
commitf73fad834f099cf866b2fe971485773727b83cb1 (patch)
tree6472851f3758be61235506b771febcc0ed49aa58 /pkg/bits/bits_template.go
parent685ceca98b35762ed64cf67bd97ce0323103b3d6 (diff)
Fix TestTCPTimeWaitNewSyn.
Drain the notification channel after first accept as in case the first accept never blocked then the notification for the first accept will still be in the channel causing the second accept to fail as it will try to wait on the channel and return immediately due to the older notification even though there is no connection yet in the accept queue. PiperOrigin-RevId: 338710062
Diffstat (limited to 'pkg/bits/bits_template.go')
0 files changed, 0 insertions, 0 deletions