From c43932b6eee8b8a964b9be7c21c42057f05456ba Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 10 Mar 2026 19:25:51 +0200 Subject: task 434: unify trace filter plumbing --- internal/eventloop_error_handling_test.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'internal/eventloop_error_handling_test.go') diff --git a/internal/eventloop_error_handling_test.go b/internal/eventloop_error_handling_test.go index e025343..b5add72 100644 --- a/internal/eventloop_error_handling_test.go +++ b/internal/eventloop_error_handling_test.go @@ -4,6 +4,7 @@ import ( "testing" "ior/internal/event" + "ior/internal/globalfilter" "ior/internal/types" ) @@ -146,7 +147,11 @@ func TestProcessRawEventMalformedKnownTypeDoesNotPanicAndNotifies(t *testing.T) } func TestTracepointEnteredMissingCommWithCommFilterNotifies(t *testing.T) { - el := mustNewEventLoop(t, eventLoopConfig{commFilter: "system"}) + el := mustNewEventLoop(t, eventLoopConfig{ + filter: globalfilter.Filter{ + Comm: &globalfilter.StringFilter{Pattern: "system"}, + }, + }) warnings := make(chan string, 1) el.warningCb = func(message string) { warnings <- message } -- cgit v1.2.3