From 6fb8d6fa1ded965e7273eb1a8e8939e3ddd9b170 Mon Sep 17 00:00:00 2001 From: Paul Cacheux Date: Fri, 15 Nov 2024 12:54:25 +0100 Subject: [PATCH] fix a few build errors --- pkg/security/tests/activity_dumps_common.go | 1 - pkg/security/tests/module_tester.go | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/security/tests/activity_dumps_common.go b/pkg/security/tests/activity_dumps_common.go index 0de24f7165c10..0115e6765b265 100644 --- a/pkg/security/tests/activity_dumps_common.go +++ b/pkg/security/tests/activity_dumps_common.go @@ -27,7 +27,6 @@ const ( ) var ( - testActivityDumpDuration = time.Minute * 10 testActivityDumpLoadControllerPeriod = time.Second * 10 ) diff --git a/pkg/security/tests/module_tester.go b/pkg/security/tests/module_tester.go index afe7d14fef608..fc5991b5287c0 100644 --- a/pkg/security/tests/module_tester.go +++ b/pkg/security/tests/module_tester.go @@ -63,6 +63,10 @@ var ( errSkipEvent = errors.New("skip event") ) +const ( + testActivityDumpDuration = time.Second * 30 +) + var testMod *testModule func (s *stringSlice) String() string {