summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs.go
diff options
context:
space:
mode:
authorAdrian Dewhurst <adrian@tailscale.com>2024-05-31 23:21:55 -0400
committerAdrian Dewhurst <sailor@sailorfrag.net>2024-06-03 11:47:21 -0400
commitdb6447ce63f5dd7374c3df1efdd25b62a12f702e (patch)
treeb7211ba1256dd3583ff1e2c32977f0bb103a70c6 /control/controlknobs/controlknobs.go
parentced9a0d413626f1e576eccbd639cea1e6bb6e451 (diff)
downloadtailscale-db6447ce63f5dd7374c3df1efdd25b62a12f702e.tar.xz
tailscale-db6447ce63f5dd7374c3df1efdd25b62a12f702e.zip
ipn/ipnlocal: simplify suggest exit node tests
This mostly removes a lot of repetition by predefining some nodes and other data structures, plus adds some helpers for creating Peer entries in the netmap. Several existing test cases were reworked to ensure better coverage of edge cases, and several new test cases were added to handle some additional responsibility that is in (or will be shortly moving in) suggestExitNode(). Updates tailscale/corp#19681 Change-Id: Ie14c2988d7fd482f7d6a877f78525f7788669b85 Signed-off-by: Adrian Dewhurst <adrian@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions