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.
2021-01-15 18:21:56 -08:00
..
dnscache net/dnscache: work on IPv6-only hosts (again) 2021-01-06 19:53:13 -08:00
flowtrack net/flowtrack: add Tuple.String method 2021-01-11 22:09:09 -08:00
interfaces net/interfaces: return IPv6 addresses from LocalAddresses. 2020-12-19 13:50:44 -08:00
netcheck netcheck: use reflect in sortRegions test. 2021-01-12 04:29:28 -08:00
netns net/netns: remove use of unsafe on Windows 2020-11-14 19:53:10 -08:00
netstat net/netstat: remove a bit more unsafe 2020-11-17 13:49:24 -08:00
nettest net/nettest: de-flake tests on Windows 2021-01-15 18:21:56 -08:00
packet net/packet, wgengine, tstun: add inter-node TSMP protocol for connect errors 2021-01-15 14:03:57 -08:00
stun net/stun: Fix STUN attribute padding (#710) 2020-08-24 12:52:13 -07:00
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 2020-06-01 09:01:37 -07:00
tsaddr net/tsaddr: add ChromeOS contains tests 2020-12-28 16:48:43 -08:00
tshttpproxy net/tshttpproxy: aggressively rate-limit error logs in Transport.Proxy path 2020-11-03 09:23:57 -08:00