skip test on none

pull/12848/head
Medya Gh 2021-11-04 12:36:35 -07:00
parent 75e6ba6637
commit f2c743d2bc
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@ import (
func TestNoKubernetes(t *testing.T) {
MaybeParallel(t)
if NoneDriver() {
t.Skip("None driver does not need --no-kubernetes test")
}
type validateFunc func(context.Context, *testing.T, string)
profile := UniqueProfileName("NoKubernetes")
ctx, cancel := context.WithTimeout(context.Background(), Minutes(5))