From 13d2c3ec8deb759308a8f0a28374470ca9bb1e9d Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 20 May 2026 14:13:21 +0300 Subject: fix(task-17): prevent aggregate double-count and flush on shutdown --- integrationtests/sampling_test.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'integrationtests') diff --git a/integrationtests/sampling_test.go b/integrationtests/sampling_test.go index 7bfbc75..34c1fdb 100644 --- a/integrationtests/sampling_test.go +++ b/integrationtests/sampling_test.go @@ -20,4 +20,11 @@ func TestPerSyscallSamplingAggregateOnlySuppressesRingbufEvents(t *testing.T) { Comm: "ioworkload", }, }) + AssertEventsPresent(t, result, []ExpectedEvent{ + { + Tracepoint: "enter_close", + Comm: "ioworkload", + MinCount: 1, + }, + }) } -- cgit v1.2.3