Skip to content

Commit

Permalink
Add experimental flag to unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
evenh committed Nov 25, 2022
1 parent fc00cb3 commit 1acf5e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions acls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"testing"

"gopkg.in/check.v1"
"tailscale.com/envknob"
"tailscale.com/tailcfg"
)

Expand Down Expand Up @@ -74,6 +75,8 @@ func (s *Suite) TestInvalidAction(c *check.C) {
}

func (s *Suite) TestSshRules(c *check.C) {
envknob.Setenv("HEADSCALE_EXPERIMENTAL_FEATURE_SSH", "1")

namespace, err := app.CreateNamespace("user1")
c.Assert(err, check.IsNil)

Expand Down

0 comments on commit 1acf5e5

Please sign in to comment.