Merge pull request #116659 from claudiubelu/skip-flaky-tests-2

unit tests: Skip flaky tests on Windows (part 2)
This commit is contained in:
Kubernetes Prow Robot
2023-05-23 20:04:48 -07:00
committed by GitHub
4 changed files with 19 additions and 0 deletions

View File

@@ -2433,6 +2433,10 @@ func TestApplyNoExecuteTaints(t *testing.T) {
// TestApplyNoExecuteTaintsToNodesEnqueueTwice ensures we taint every node with NoExecute even if enqueued twice
func TestApplyNoExecuteTaintsToNodesEnqueueTwice(t *testing.T) {
// TODO: Remove skip once https://github.com/kubernetes/kubernetes/pull/114607 merges.
if goruntime.GOOS == "windows" {
t.Skip("Skipping test on Windows.")
}
fakeNow := metav1.Date(2017, 1, 1, 12, 0, 0, 0, time.UTC)
fakeNodeHandler := &testutil.FakeNodeHandler{