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/tstest
Alex Chan b7658a4ad2 tstest/integration: add integration test for Tailnet Lock
This patch adds an integration test for Tailnet Lock, checking that a node can't
talk to peers in the tailnet until it becomes signed.

This patch also introduces a new package `tstest/tkatest`, which has some helpers
for constructing a mock control server that responds to TKA requests. This allows
us to reduce boilerplate in the IPN tests.

Updates tailscale/corp#33599

Signed-off-by: Alex Chan <alexc@tailscale.com>
1 week ago
..
archtest all: don't rebind variables in for loops 2 months ago
chonktest ipn/ipnlocal, tka: compact TKA state after every sync 2 weeks ago
deptest ipn/ipnlocal: use policyclient.Client always, stop using global syspolicy funcs 3 months ago
integration tstest/integration: add integration test for Tailnet Lock 1 week ago
iosdeps feature/capture: move packet capture to feature/*, out of iOS + CLI 10 months ago
jsdeps all: use math/rand/v2 more 2 years ago
mts tstest/mts: add multiple-tailscaled development tool 8 months ago
natlab derp/derpserver: clean up extraction of derp.Server (#17264) 2 months ago
nettest net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 8 months ago
tailmac tstest/tailmac: add support for mounting host directories in the guest (#13957) 1 year ago
tkatest tstest/integration: add integration test for Tailnet Lock 1 week ago
tlstest tstest/tlstest: simplify, don't even bake in any keys 6 months ago
tools go.{mod,sum},tstest/tools,k8s-operator,cmd/k8s-operator: autogenerate CRD API docs (#12884) 1 year ago
typewalk types/netmap: remove PrivateKey from NetworkMap 2 weeks ago
allocs.go all: update copyright and license headers 3 years ago
clock.go tstime: add Since method (#8622) 2 years ago
clock_test.go all: don't rebind variables in for loops 2 months ago
kernel_linux.go portlist,tstest: skip tests on kernels with /proc/net/tcp regression 2 weeks ago
kernel_other.go portlist,tstest: skip tests on kernels with /proc/net/tcp regression 2 weeks ago
log.go net/portmapper: fix test flakes from logging after test done 7 months ago
log_test.go all: update copyright and license headers 3 years ago
reflect.go net/dns: fix IsZero and Equal methods on OSConfig 1 year ago
resource.go tstest: parse goroutines for diff in ResourceCheck (#15619) 8 months ago
resource_test.go tstest: parse goroutines for diff in ResourceCheck (#15619) 8 months ago
test-wishlist.md wf/firewall: allow link-local multicast for permitted local routes when the killswitch is on on Windows 1 year ago
tstest.go portlist,tstest: skip tests on kernels with /proc/net/tcp regression 2 weeks ago
tstest_test.go portlist,tstest: skip tests on kernels with /proc/net/tcp regression 2 weeks ago