diff options
| author | Alex Chan <alexc@tailscale.com> | 2025-10-06 17:17:52 +0100 |
|---|---|---|
| committer | Alex Chan <alex@alexwlchan.net> | 2025-10-08 18:00:29 +0100 |
| commit | 06f12186d9f4672ac0a0a493e29a260ca47afda6 (patch) | |
| tree | e8d5e2afd5986aa9d63f400ca88d3b4934cdd051 /util/execqueue | |
| parent | 4543ea5c8a2f9c9e45ddc2beb4d0635bd99cd079 (diff) | |
| download | tailscale-06f12186d9f4672ac0a0a493e29a260ca47afda6.tar.xz tailscale-06f12186d9f4672ac0a0a493e29a260ca47afda6.zip | |
tstest/integration: test `tailscale up` when device approval is required
This patch extends the integration tests for `tailscale up` to include tailnets
where new devices need to be approved. It doesn't change the CLI, because it's
mostly working correctly already -- these tests are just to prevent future
regressions.
I've added support for `MachineAuthorized` to mock control, and I've refactored
`TestOneNodeUpAuth` to be more flexible. It now takes a sequence of steps to
run and asserts whether we got a login URL and/or machine approval URL after
each step.
Updates tailscale/corp#31476
Updates #17361
Signed-off-by: Alex Chan <alexc@tailscale.com>
Diffstat (limited to 'util/execqueue')
0 files changed, 0 insertions, 0 deletions
