skip dry run on hyperv
parent
e6a8e47844
commit
42054ddd55
|
|
@ -708,7 +708,11 @@ func validateDryRun(ctx context.Context, t *testing.T, profile string) {
|
|||
|
||||
wantCode := reason.ExInsufficientMemory
|
||||
if rr.ExitCode != wantCode {
|
||||
t.Errorf("dry-run(250MB) exit code = %d, wanted = %d: %v", rr.ExitCode, wantCode, err)
|
||||
if HyperVDriver() {
|
||||
t.Skip("skipping this error on HyperV till this issue is solved https://github.com/kubernetes/minikube/issues/9785")
|
||||
} else {
|
||||
t.Errorf("dry-run(250MB) exit code = %d, wanted = %d: %v", rr.ExitCode, wantCode, err)
|
||||
}
|
||||
}
|
||||
|
||||
dctx, cancel := context.WithTimeout(ctx, Seconds(5))
|
||||
|
|
@ -718,7 +722,7 @@ func validateDryRun(ctx context.Context, t *testing.T, profile string) {
|
|||
rr, err = Run(t, c)
|
||||
if rr.ExitCode != 0 || err != nil {
|
||||
if HyperVDriver() {
|
||||
|
||||
t.Skip("skipping this error on HyperV till this issue is solved https://github.com/kubernetes/minikube/issues/9785")
|
||||
} else {
|
||||
t.Errorf("dry-run exit code = %d, wanted = %d: %v", rr.ExitCode, 0, err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue