Skip to content

Commit

Permalink
tetragon: Fix TestExitSignal test
Browse files Browse the repository at this point in the history
Exit events can be un ordered, make the test reflect that.

Signed-off-by: Jiri Olsa <[email protected]>
  • Loading branch information
olsajiri committed Oct 29, 2024
1 parent 41f66ac commit 81c312a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sensors/exec/exit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func TestExitSignal(t *testing.T) {
observertesthelper.LoopEvents(ctx, t, &doneWG, &readyWG, obs)
readyWG.Wait()

checker := ec.NewOrderedEventChecker()
checker := ec.NewUnorderedEventChecker()
testExitSignalBinary := testutils.RepoRootPath("contrib/tester-progs/pause")

for sig := 1; sig <= 15; sig++ {
Expand Down

0 comments on commit 81c312a

Please sign in to comment.