mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
chore: skip ssh exec-ing test on windows (#15146)
See coder/internal#117
This commit is contained in:
@ -10,6 +10,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
"runtime"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
@ -63,6 +64,10 @@ func sshConfigFileRead(t *testing.T, name string) string {
|
|||||||
func TestConfigSSH(t *testing.T) {
|
func TestConfigSSH(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
|
if runtime.GOOS == "windows" {
|
||||||
|
t.Skip("See coder/internal#117")
|
||||||
|
}
|
||||||
|
|
||||||
const hostname = "test-coder."
|
const hostname = "test-coder."
|
||||||
const expectedKey = "ConnectionAttempts"
|
const expectedKey = "ConnectionAttempts"
|
||||||
const removeKey = "ConnectTimeout"
|
const removeKey = "ConnectTimeout"
|
||||||
|
Reference in New Issue
Block a user