ssh/tailssh_test: skip TestSSH/stdin in CI

Updates #4051

Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
Maisem Ali 2022-03-18 10:45:05 -07:00 committed by Maisem Ali
parent 309c0a13a5
commit b775df0b57
1 changed files with 5 additions and 0 deletions

View File

@ -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