headscale/integration
Juan Font Alonso f176503448 Added WaitForReady() to Tailscale interface
When using running `tailscale up` in the AuthKey flow process, the tailscale client immediately enters PollMap after registration - avoiding a race condition.

When using the web auth (up -> go to the Control website -> CLI `register`) the client is polling checking if it has been authorized. If we immediately ask for the client IP, as done in CreateHeadscaleEnv() we might have the client in NotReady status.

This method provides a way to wait for the client to be ready.

Signed-off-by: Juan Font Alonso <juanfontalonso@gmail.com>
2022-11-13 13:13:29 +01:00
..
dockertestutil Join test suite container to network, allowing seperate networks 2022-10-18 15:37:11 +02:00
hsic Return the real port of the container 2022-11-04 00:05:01 +01:00
tsic Added WaitForReady() to Tailscale interface 2022-11-13 13:13:29 +01:00
auth_web_flow_test.go Update integration/auth_web_flow_test.go 2022-11-04 16:11:10 +01:00
cli_test.go Port preauthkey subcommand tests 2022-10-26 10:23:44 +02:00
control.go Add Execute helper for controlserver 2022-10-26 10:23:44 +02:00
general_test.go Update Tailscale interface with new Execute signature 2022-11-03 17:00:23 +01:00
scenario.go Add basic accept all acl to all test as example 2022-11-03 12:53:00 +01:00
scenario_test.go Use TailscaleClient interface instead of tsic 2022-10-21 13:17:54 +02:00
tailscale.go Added WaitForReady() to Tailscale interface 2022-11-13 13:13:29 +01:00