Skip to content

Commit

Permalink
fix final check count
Browse files Browse the repository at this point in the history
Signed-off-by: sat0ken <[email protected]>
  • Loading branch information
sat0ken committed Feb 8, 2025
1 parent 2d78430 commit 9dadd59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/tests/kprobe/kprobe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (k *kprobeCheker) NextEventCheck(event ec.Event, _ *logrus.Logger) (bool, e
}

func (k *kprobeCheker) FinalCheck(logger *logrus.Logger) error {
if k.matches > 0 {
if k.matches >= 2 {
return nil
}
return fmt.Errorf("kprobe checker failed, had %d matches", k.matches)
Expand Down

0 comments on commit 9dadd59

Please sign in to comment.