From b775df0b57a8e50f9edc7d464ed5afcf0aecd7ea Mon Sep 17 00:00:00 2001 From: Maisem Ali Date: Fri, 18 Mar 2022 10:45:05 -0700 Subject: [PATCH] ssh/tailssh_test: skip TestSSH/stdin in CI Updates #4051 Signed-off-by: Maisem Ali --- ssh/tailssh/tailssh_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ssh/tailssh/tailssh_test.go b/ssh/tailssh/tailssh_test.go index e6c7d4faa..8666cee49 100644 --- a/ssh/tailssh/tailssh_test.go +++ b/ssh/tailssh/tailssh_test.go @@ -292,6 +292,11 @@ func TestSSH(t *testing.T) { }) t.Run("stdin", func(t *testing.T) { + if os.Getenv("CI") == "true" { + // CI env variable is set by GitHub. + // https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables + t.Skip("Skipping for now; see https://github.com/tailscale/tailscale/issues/4051") + } cmd := execSSH("cat") var outBuf bytes.Buffer cmd.Stdout = &outBuf