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
Brad Fitzpatrick ac0b15356d tailcfg, control/controlclient: start moving MapResponse.DefaultAutoUpdate to a nodeattr
And fix up the TestAutoUpdateDefaults integration tests as they
weren't testing reality: the DefaultAutoUpdate is supposed to only be
relevant on the first MapResponse in the stream, but the tests weren't
testing that. They were instead injecting a 2nd+ MapResponse.

This changes the test control server to add a hook to modify the first
map response, and then makes the test control when the node goes up
and down to make new map responses.

Also, the test now runs on macOS where the auto-update feature being
disabled would've previously t.Skipped the whole test.

Updates #11502

Change-Id: If2319bd1f71e108b57d79fe500b2acedbc76e1a6
Signed-off-by: Brad Fitzpatrick <bradfitz@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 tailcfg, control/controlclient: start moving MapResponse.DefaultAutoUpdate to a nodeattr 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
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