You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net
Josh Bleecher Snyder 7c1a9e8616 net/nettest: de-flake tests on Windows
Windows has a low resolution timer.
Some of the tests assumed that unblock takes effect immediately.

Consider:

t := time.Now()
elapsed := time.Now().After(t)

It seems plausible that elapsed should always be true.
However, with a low resolution timer, that might fail.

Change time.Now().After to !time.Now().Before,
so that unblocking always takes effect immediately.

Fixes #873.
4 years ago
..
dnscache net/dnscache: work on IPv6-only hosts (again) 4 years ago
flowtrack net/flowtrack: add Tuple.String method 4 years ago
interfaces net/interfaces: return IPv6 addresses from LocalAddresses. 4 years ago
netcheck netcheck: use reflect in sortRegions test. 4 years ago
netns net/netns: remove use of unsafe on Windows 4 years ago
netstat net/netstat: remove a bit more unsafe 4 years ago
nettest net/nettest: de-flake tests on Windows 4 years ago
packet net/packet, wgengine, tstun: add inter-node TSMP protocol for connect errors 4 years ago
stun net/stun: Fix STUN attribute padding (#710) 4 years ago
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 4 years ago
tsaddr net/tsaddr: add ChromeOS contains tests 4 years ago
tshttpproxy net/tshttpproxy: aggressively rate-limit error logs in Transport.Proxy path 4 years ago