chore: skip ssh exec-ing test on windows (#15146)

See coder/internal#117
This commit is contained in:
Ethan
2024-10-20 23:17:20 -05:00
committed by GitHub
parent d2c1562a94
commit 9b8e707517

View File

@ -10,6 +10,7 @@ import (
"os"
"os/exec"
"path/filepath"
"runtime"
"strconv"
"strings"
"sync"
@ -63,6 +64,10 @@ func sshConfigFileRead(t *testing.T, name string) string {
func TestConfigSSH(t *testing.T) {
t.Parallel()
if runtime.GOOS == "windows" {
t.Skip("See coder/internal#117")
}
const hostname = "test-coder."
const expectedKey = "ConnectionAttempts"
const removeKey = "ConnectTimeout"