Skip to content

Commit

Permalink
ProcessCache: Disable interval test in VM
Browse files Browse the repository at this point in the history
The TestProcessCacheInterval test is flaky in VMs, probably because it
relies on timing. This commit disables the test in the vmtests.

Signed-off-by: Kevin Sheldrake <[email protected]>
  • Loading branch information
kevsecurity committed Dec 3, 2024
1 parent c93fe2e commit 2aaea0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/vmtests/skip.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ type skipRule struct {
var rules = []skipRule{
skipRule{TestNameRe: "pkg.sensors.tracing.TestLoader", KernelRe: "(6\\.6|6\\.1)"},
skipRule{TestNameRe: "pkg.tracepoint.TestTracepointLoadFormat", KernelRe: "(6\\.1|bpf-next)"},
skipRule{TestNameRe: "pkg.sensors.exec.TestProcessCacheInterval", KernelRe: ""},
}

func init() {
Expand Down

0 comments on commit 2aaea0f

Please sign in to comment.