mark the OOM killer as serial to reduce flakes

In testing I could only reproduce the flake by running stress-ng to load
the CPU. Running it as serial should reduce and hopefully eliminate the
flakiness.
This commit is contained in:
Todd Neal 2023-08-18 13:18:50 -05:00
parent e2afa175e4
commit bd6f548746

View File

@ -37,7 +37,10 @@ type testCase struct {
oomTargetContainerName string
}
var _ = SIGDescribe("OOMKiller [LinuxOnly] [NodeConformance]", func() {
// Marked as [Serial] since currently the runtime can miss the OOM event if the pod is killed too quickly. This seems
// to occur more often when the node is highly loaded.
var _ = SIGDescribe("OOMKiller [LinuxOnly] [NodeConformance] [Serial]", func() {
f := framework.NewDefaultFramework("oomkiller-test")
f.NamespacePodSecurityLevel = admissionapi.LevelPrivileged