unittests: Skip failing Windows tests

Some of the unit tests are currently failing on Windows.

Skip them for now, and remove the skips later, once the underlying issues
have been resolved.
This commit is contained in:
Claudiu Belu
2024-03-27 18:40:58 +00:00
parent 8a9031f9c9
commit 2be8baeaef
14 changed files with 101 additions and 3 deletions

View File

@@ -514,6 +514,10 @@ func testValidateProxyModeLinux(t *testing.T) {
}
func testValidateProxyModeWindows(t *testing.T) {
// TODO: remove skip once the test has been fixed.
if runtime.GOOS == "windows" {
t.Skip("Skipping failing test on Windows.")
}
newPath := field.NewPath("KubeProxyConfiguration")
for name, testCase := range map[string]struct {
mode kubeproxyconfig.ProxyMode