diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-20 14:13:21 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-20 14:13:21 +0300 |
| commit | 13d2c3ec8deb759308a8f0a28374470ca9bb1e9d (patch) | |
| tree | 20f1d9ac5540d63a415223c7c5b4bb6f1e8ecec8 /integrationtests/sampling_test.go | |
| parent | 9310b54d439d4a1a8d4d337987aa63884df0af76 (diff) | |
fix(task-17): prevent aggregate double-count and flush on shutdown
Diffstat (limited to 'integrationtests/sampling_test.go')
| -rw-r--r-- | integrationtests/sampling_test.go | 7 |
1 files changed, 7 insertions, 0 deletions
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, + }, + }) } |
