mirror of https://github.com/tailscale/tailscale/
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>pull/335/head
parent
cbb1e2e853
commit
66c7875974
Loading…
Reference in New Issue