mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
ssh/tailssh_test: skip TestSSH/stdin in CI
Updates #4051 Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
parent
309c0a13a5
commit
b775df0b57
@ -292,6 +292,11 @@ func TestSSH(t *testing.T) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
t.Run("stdin", func(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")
|
cmd := execSSH("cat")
|
||||||
var outBuf bytes.Buffer
|
var outBuf bytes.Buffer
|
||||||
cmd.Stdout = &outBuf
|
cmd.Stdout = &outBuf
|
||||||
|
Loading…
Reference in New Issue
Block a user