summaryrefslogtreecommitdiff
path: root/integrationtests/retbytes_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-27 21:57:37 +0300
committerPaul Buetow <paul@buetow.org>2026-05-27 21:57:37 +0300
commit99e99c6ea35ae97e84d727449f9ad7c4c0a9fa23 (patch)
treea5c690689719687716186de08f2085352461d2b4 /integrationtests/retbytes_test.go
parent45e02c6754dbc8217713d81d792bfc83e8523505 (diff)
Stabilize integration test startup
Diffstat (limited to 'integrationtests/retbytes_test.go')
-rw-r--r--integrationtests/retbytes_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/integrationtests/retbytes_test.go b/integrationtests/retbytes_test.go
index c6f06d8..4baed9e 100644
--- a/integrationtests/retbytes_test.go
+++ b/integrationtests/retbytes_test.go
@@ -2,10 +2,12 @@ package integrationtests
import "testing"
+var retbytesTraceArgs = []string{"-trace-syscalls", "sendto,recvfrom,sendmsg,recvmsg,sendmmsg,recvmmsg,sendfile64,splice,tee,process_vm_writev,process_vm_readv,socketpair,pipe2,openat,write,read,close,lseek,fcntl,unlinkat,mkdirat,getdents64"}
+
func TestRetbytesPhaseA(t *testing.T) {
const payloadLen = uint64(18)
- result, _ := runScenarioResult(t, "retbytes-phase-a", []ExpectedEvent{
+ result, _ := runScenarioResultWithIorArgs(t, "retbytes-phase-a", []ExpectedEvent{
{Tracepoint: "enter_sendto", Comm: "ioworkload", MinCount: 1},
{Tracepoint: "enter_recvfrom", Comm: "ioworkload", MinCount: 1},
{Tracepoint: "enter_sendmsg", Comm: "ioworkload", MinCount: 1},
@@ -17,7 +19,7 @@ func TestRetbytesPhaseA(t *testing.T) {
{Tracepoint: "enter_tee", Comm: "ioworkload", MinCount: 1},
{Tracepoint: "enter_process_vm_writev", Comm: "ioworkload", MinCount: 1},
{Tracepoint: "enter_process_vm_readv", Comm: "ioworkload", MinCount: 1},
- })
+ }, retbytesTraceArgs)
for _, tracepoint := range []string{
"enter_sendto",