From 81c312aaecbb9695f838531998e3af58b40f6453 Mon Sep 17 00:00:00 2001 From: Jiri Olsa Date: Mon, 28 Oct 2024 21:15:40 +0000 Subject: [PATCH] tetragon: Fix TestExitSignal test Exit events can be un ordered, make the test reflect that. Signed-off-by: Jiri Olsa --- pkg/sensors/exec/exit_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sensors/exec/exit_test.go b/pkg/sensors/exec/exit_test.go index f2219354625..73bf5867ec1 100644 --- a/pkg/sensors/exec/exit_test.go +++ b/pkg/sensors/exec/exit_test.go @@ -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++ {