Skip to content

Commit

Permalink
testutils: add comment
Browse files Browse the repository at this point in the history
Add a comment to indicate that the default value specified for
CmdWaitTime is not what is typically used for sensor tests.

Signed-off-by: Kornilios Kourtis <[email protected]>
  • Loading branch information
kkourt authored and jrfastab committed Nov 7, 2022
1 parent a06b7d9 commit 539ef41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/testutils/sensors/testrun.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ type Config struct {
}

var ConfigDefaults = Config{
TetragonLib: filepath.Join(TetragonBpfPath(), "objs"),
SelfBinary: filepath.Base(os.Args[0]),
TetragonLib: filepath.Join(TetragonBpfPath(), "objs"),
SelfBinary: filepath.Base(os.Args[0]),
// NB: for sensor tests, CmdWaitTime is initialized by TestSensorsRun to 5min
CmdWaitTime: 60000 * time.Millisecond,
DisableTetragonLogs: false,
Debug: false,
Expand Down

0 comments on commit 539ef41

Please sign in to comment.