diff options
Diffstat (limited to 'internal/eventloop_error_handling_test.go')
| -rw-r--r-- | internal/eventloop_error_handling_test.go | 7 |
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 } |
