Merge pull request #80213 from bclau/tests/skips-windows-unrelated-tests

tests: Skips Windows-unrelated tests on Windows
This commit is contained in:
Kubernetes Prow Robot
2019-08-23 20:56:25 -07:00
committed by GitHub
13 changed files with 78 additions and 19 deletions

View File

@@ -265,7 +265,9 @@ var _ = SIGDescribe("Services", func() {
framework.ExpectNoError(err, "failed to validate endpoints for service %s in namespace: %s", serviceName, ns)
})
ginkgo.It("should preserve source pod IP for traffic thru service cluster IP", func() {
ginkgo.It("should preserve source pod IP for traffic thru service cluster IP [LinuxOnly]", func() {
// this test is creating a pod with HostNetwork=true, which is not supported on Windows.
framework.SkipIfNodeOSDistroIs("windows")
// This behavior is not supported if Kube-proxy is in "userspace" mode.
// So we check the kube-proxy mode and skip this test if that's the case.