tailscale/ipn/ipnlocal
Josh Bleecher Snyder add6dc8ccc ipn/ipnlocal: make TestShrinkDefaultRoute hermetic
Make shrinkDefaultRoute a pure function.
Instead of calling interfaceRoutes, accept that information as parameters.
Hard-code those parameters in TestShrinkDefaultRoute.

Fixes #3580

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2021-12-16 11:31:20 -08:00
..
dnsconfig_test.go net/dns: add GetBaseConfig to CallbackRouter. 2021-12-08 16:49:11 -08:00
local_test.go ipn/ipnlocal: make TestShrinkDefaultRoute hermetic 2021-12-16 11:31:20 -08:00
local.go ipn/ipnlocal: make TestShrinkDefaultRoute hermetic 2021-12-16 11:31:20 -08:00
loglines_test.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 2021-12-01 10:36:55 -08:00
peerapi_h2c.go ipn/ipnlocal: add HTTP/2 h2c server support to peerapi on non-mobile platforms 2021-12-06 16:39:14 -08:00
peerapi_macios_ext.go net/tsdial: move macOS/iOS peerapi sockopt logic from LocalBackend 2021-12-01 12:55:31 -08:00
peerapi_test.go ipn/ipnlocal: run peerapi even if Taildrop storage not configured 2021-12-01 16:45:09 -08:00
peerapi.go ipn/ipnlocal: add HTTP/2 h2c server support to peerapi on non-mobile platforms 2021-12-06 16:39:14 -08:00
state_test.go ipn/ipnlocal: deflake (mostly) TestStateMachine 2021-12-15 13:41:06 -08:00