mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-24 23:36:49 +09:00
integration: cover exit nodes via autogroup:internet ACL (#3212)
TestEnablingExitRoutes runs without an ACL, so tailcfg.FilterAllowAll hides any policy-path regression. Add a sibling that applies the literal #3212 policy via hsic.WithACLPolicy after registration and approval, then asserts each peer carries 0.0.0.0/0 + ::/0 in AllowedIPs and ExitNodeOption is true — the daemon-derived bool that drives `tailscale exit-node list`. Updates #3212
This commit is contained in:
1 parent
c7a0ca709f
commit
ba251e7b47
2 files changed
+140
No files matched your search
@@ -239,6 +239,7 @@ jobs:
|
||||
- TestHASubnetRouterFailover
|
||||
- TestSubnetRouteACL
|
||||
- TestEnablingExitRoutes
|
||||
- TestExitRoutesWithAutogroupInternetACL
|
||||
- TestSubnetRouterMultiNetwork
|
||||
- TestSubnetRouterMultiNetworkExitNode
|
||||
- TestAutoApproveMultiNetwork/authkey-tag.*
|
||||
|
||||
Reference in new issue
Block a user