summaryrefslogtreecommitdiff
path: root/integrationtests/polling_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/polling_test.go
parent45e02c6754dbc8217713d81d792bfc83e8523505 (diff)
Stabilize integration test startup
Diffstat (limited to 'integrationtests/polling_test.go')
-rw-r--r--integrationtests/polling_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/integrationtests/polling_test.go b/integrationtests/polling_test.go
index a09cab2..d6b520c 100644
--- a/integrationtests/polling_test.go
+++ b/integrationtests/polling_test.go
@@ -10,10 +10,12 @@ const (
pollingWorkloadStartupEnv = "IOR_WORKLOAD_STARTUP_DELAY_MS=1000"
)
+var pollingTraceArgs = []string{"-trace-syscalls", "epoll_ctl,epoll_wait,epoll_pwait,epoll_pwait2,poll,ppoll,select,pselect6"}
+
func TestPollingEpollTracepoints(t *testing.T) {
h := newTestHarness(t)
h.WorkloadEnv = []string{pollingWorkloadStartupEnv}
- result, pid, err := h.Run("polling-epoll", defaultDuration)
+ result, pid, err := h.RunWithIorArgs("polling-epoll", defaultDuration, pollingTraceArgs)
if err != nil {
t.Fatalf("run scenario polling-epoll: %v", err)
}
@@ -38,7 +40,7 @@ func TestPollingEpollTracepoints(t *testing.T) {
func TestPollingEpollReadyCountInParquet(t *testing.T) {
h := newTestHarness(t)
h.WorkloadEnv = []string{pollingWorkloadStartupEnv}
- path, pid, err := h.RunParquet("polling-epoll", pollingParquetDuration)
+ path, pid, err := h.RunParquetWithIorArgs("polling-epoll", pollingParquetDuration, pollingTraceArgs)
if err != nil {
t.Fatalf("run polling-epoll parquet scenario: %v", err)
}