diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-27 21:57:37 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-27 21:57:37 +0300 |
| commit | 99e99c6ea35ae97e84d727449f9ad7c4c0a9fa23 (patch) | |
| tree | a5c690689719687716186de08f2085352461d2b4 /integrationtests/pidfd_test.go | |
| parent | 45e02c6754dbc8217713d81d792bfc83e8523505 (diff) | |
Stabilize integration test startup
Diffstat (limited to 'integrationtests/pidfd_test.go')
| -rw-r--r-- | integrationtests/pidfd_test.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/integrationtests/pidfd_test.go b/integrationtests/pidfd_test.go index d742078..6116035 100644 --- a/integrationtests/pidfd_test.go +++ b/integrationtests/pidfd_test.go @@ -2,23 +2,25 @@ package integrationtests import "testing" +var pidfdTraceArgs = []string{"-trace-syscalls", "pidfd_open,pidfd_getfd,openat,write,close"} + func TestPidfdGetfdSuccess(t *testing.T) { - runScenario(t, "pidfd-getfd-success", []ExpectedEvent{ + runScenarioResultWithIorArgs(t, "pidfd-getfd-success", []ExpectedEvent{ { PathContains: "pidfd-getfd-source.txt", Tracepoint: "enter_pidfd_getfd", Comm: "ioworkload", MinCount: 1, }, - }) + }, pidfdTraceArgs) } func TestPidfdGetfdFailure(t *testing.T) { - runScenario(t, "pidfd-getfd-failure", []ExpectedEvent{ + runScenarioResultWithIorArgs(t, "pidfd-getfd-failure", []ExpectedEvent{ { Tracepoint: "enter_pidfd_getfd", Comm: "ioworkload", MinCount: 1, }, - }) + }, pidfdTraceArgs) } |
