Skip to content

Commit

Permalink
Allow the test for kubelet DiskPressure to fail job runs
Browse files Browse the repository at this point in the history
Only metal jobs were showing up, rarely at that, and a fix just went in.
  • Loading branch information
dgoodwin committed Nov 22, 2024
1 parent e7a9cb1 commit 0d348f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/monitortests/node/watchnodes/monitortest.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ func nodeDiskPressure(finalIntervals monitorapi.Intervals) []*junitapi.JUnitTest
Output: fmt.Sprintf("found %d intervals where a node began reporting DiskPressure:\n\n%v", len(failures), strings.Join(failures, "\n")),
},
})
} else {
tests = append(tests, &junitapi.JUnitTestCase{Name: testName})
}

// until we know how widespread this is, mark this as a flake
tests = append(tests, &junitapi.JUnitTestCase{Name: testName})
return tests
}

0 comments on commit 0d348f8

Please sign in to comment.