summaryrefslogtreecommitdiff
path: root/internal/eventloop_error_handling_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-10 19:25:51 +0200
committerPaul Buetow <paul@buetow.org>2026-03-10 19:25:51 +0200
commitc43932b6eee8b8a964b9be7c21c42057f05456ba (patch)
tree94a5a7ebeefdc79c106060c004b561985df69970 /internal/eventloop_error_handling_test.go
parent70acff73c8d103ec68c575d3cac1bdd87c189cf0 (diff)
task 434: unify trace filter plumbing
Diffstat (limited to 'internal/eventloop_error_handling_test.go')
-rw-r--r--internal/eventloop_error_handling_test.go7
1 files changed, 6 insertions, 1 deletions
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 }