From 1acf5e57917fd1f1f17c9f93a1b2449420dbbf01 Mon Sep 17 00:00:00 2001 From: Even Holthe Date: Fri, 25 Nov 2022 14:46:34 +0100 Subject: [PATCH] Add experimental flag to unit test --- acls_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/acls_test.go b/acls_test.go index 0f3c262f..23e7f917 100644 --- a/acls_test.go +++ b/acls_test.go @@ -7,6 +7,7 @@ import ( "testing" "gopkg.in/check.v1" + "tailscale.com/envknob" "tailscale.com/tailcfg" ) @@ -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)