diff --git a/test/e2e/windows/dns.go b/test/e2e/windows/dns.go index bea90ec5277..e139949c0b6 100644 --- a/test/e2e/windows/dns.go +++ b/test/e2e/windows/dns.go @@ -30,7 +30,7 @@ import ( "github.com/onsi/ginkgo" ) -var _ = SIGDescribe("DNS", func() { +var _ = SIGDescribe("[Feature:Windows] DNS", func() { ginkgo.BeforeEach(func() { e2eskipper.SkipUnlessNodeOSDistroIs("windows") @@ -50,6 +50,9 @@ var _ = SIGDescribe("DNS", func() { Nameservers: []string{testInjectedIP}, Searches: []string{testSearchPath}, } + testUtilsPod.Spec.NodeSelector = map[string]string{ + "kubernetes.io/os": "windows", + } testUtilsPod, err := f.ClientSet.CoreV1().Pods(f.Namespace.Name).Create(context.TODO(), testUtilsPod, metav1.CreateOptions{}) framework.ExpectNoError(err) framework.Logf("Created pod %v", testUtilsPod)