skipping for now

pull/8265/head
Medya Gh 2020-05-25 21:11:52 -07:00
parent b773fb4a4b
commit e9e53745de
No known key found for this signature in database
GPG Key ID: 7CF7792C6DF3245C
1 changed files with 10 additions and 2 deletions

View File

@ -517,7 +517,7 @@ func validateCacheCmd(ctx context.Context, t *testing.T, profile string) {
var rr *RunResult
var err error
if runtime.GOOS == "windows" {
rr, err = Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "ssh", "sudo", "crictl", "images"), true)
rr, err = Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "ssh", "sudo crictl images"), true)
} else {
rr, err = Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "ssh", "sudo", "crictl", "images"))
}
@ -537,7 +537,7 @@ func validateCacheCmd(ctx context.Context, t *testing.T, profile string) {
var rr *RunResult
var err error
if runtime.GOOS == "windows" {
rr, err = Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "ssh", "sudo", "docker", "rmi", img), true) // for some reason crictl rmi doesn't work
rr, err = Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "ssh", "sudo docker rmi "+img), true) // for some reason crictl rmi doesn't work
} else {
rr, err = Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "ssh", "sudo", "docker", "rmi", img))
}
@ -972,6 +972,10 @@ func validateFileSync(ctx context.Context, t *testing.T, profile string) {
t.Skipf("skipping: ssh unsupported by none")
}
if runtime.GOOS == "windows" {
t.Skipf("skipping for windows for now :(")
}
vp := vmSyncTestPath()
t.Logf("Checking for existence of %s within VM", vp)
rr, err := Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "ssh", fmt.Sprintf("sudo cat %s", vp)))
@ -999,6 +1003,10 @@ func validateCertSync(ctx context.Context, t *testing.T, profile string) {
t.Skipf("skipping: ssh unsupported by none")
}
if runtime.GOOS == "windows" {
t.Skipf("skipping for windows for now :(")
}
want, err := ioutil.ReadFile("./testdata/minikube_test.pem")
if err != nil {
t.Errorf("test file not found: %v", err)