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/control/controlclient
David Anderson 66c7875974 control/controlclient: wait for c1 to receive a netmap.
This strictly sequences things such that c1 is fully registered in
the control server before c2 creates its poll. Failure to do this
can cause an inversion where c2's poll finishes establishing
before c1's poll starts, which results in c2 getting disconnected
rather than c1, and the test times out waiting for c1 to get kicked.

Fixes #98.

Signed-off-by: David Anderson <danderson@tailscale.com>
6 years ago
..
auto.go all: remove unnecessary trailing newlines in format patterns for consistency 6 years ago
auto_test.go control/controlclient: document test TestClientsReusingKeys. 6 years ago
controlclient_test.go types/empty: add Message, stop using mysterious *struct{} 6 years ago
direct.go control/controlclient: fix build break caused by overzealous gitting 6 years ago
direct_test.go control/controlclient: wait for c1 to receive a netmap. 6 years ago
netmap.go cmd/relaynode: delete it! 6 years ago
persist_test.go ipn: implement Prefs.Equals efficiently. 6 years ago