tailscale/tstest/integration
Mihai Parparita 2244cebf73 ipn/ipnlocal: fix controlclient reentrancy when deleting profile during logout
Deletion of profiles on logout (#6297) added a LocalBackend.Start()
call within setClientStatus(), but that's a callback from the
controlclient. Start() ends calling back into the controlclient (to
shut it down), and we end up stuck in a deadlock waiting for the
authDone channel to be closed.

Fixed by making the Start call asynchronous. To reproduce this in a test
case, we need to do an asynchronous logout, so add a CLI option for
that.

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2022-11-14 17:57:49 -08:00
..
testcontrol all: fix spelling mistakes 2022-09-29 13:36:13 -07:00
vms all: remove old +build tags 2022-11-04 07:25:42 -07:00
gen_deps.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
integration.go refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
integration_test.go ipn/ipnlocal: fix controlclient reentrancy when deleting profile during logout 2022-11-14 17:57:49 -08:00
tailscaled_deps_test_darwin.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
tailscaled_deps_test_freebsd.go ssh/tailssh: add Tailscale SSH (server) support on FreeBSD 2022-11-10 20:25:23 -08:00
tailscaled_deps_test_linux.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
tailscaled_deps_test_openbsd.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
tailscaled_deps_test_windows.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00