mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-19 11:57:07 +09:00
servertest: hold the exit-node capture to the wire and filter rules
Updates #3643
This commit is contained in:
1 parent
9ab6a64ee3
commit
1fa8061e2c
1 file changed
+2
-2
@@ -322,7 +322,7 @@ func TestMapEntryFieldsCompat(t *testing.T) {
|
||||
t.Run("wire", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
for _, id := range []string{"map-delivery", "hidden-peers", "route-announce", "policy-generation", "user-role", "expiry"} {
|
||||
for _, id := range []string{"map-delivery", "hidden-peers", "route-announce", "policy-generation", "user-role", "expiry", "exit-node"} {
|
||||
for _, step := range readStepCapture(t, id).Steps {
|
||||
for alias, frames := range step.Frames {
|
||||
for _, f := range frames {
|
||||
@@ -386,7 +386,7 @@ func TestExitNodeFilteredSetCompat(t *testing.T) {
|
||||
t.Run("saas", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
for _, id := range []string{"map-delivery", "names", "expiry"} {
|
||||
for _, id := range []string{"map-delivery", "names", "expiry", "exit-node"} {
|
||||
for _, step := range readStepCapture(t, id).Steps {
|
||||
for _, n := range step.Captures {
|
||||
if n.Netmap != nil {
|
||||
|
||||
Reference in new issue
Block a user