summaryrefslogtreecommitdiff
path: root/integrationtests/helpers_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/helpers_test.go
parent45e02c6754dbc8217713d81d792bfc83e8523505 (diff)
Stabilize integration test startup
Diffstat (limited to 'integrationtests/helpers_test.go')
-rw-r--r--integrationtests/helpers_test.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/integrationtests/helpers_test.go b/integrationtests/helpers_test.go
index 6ef7ba7..64a4312 100644
--- a/integrationtests/helpers_test.go
+++ b/integrationtests/helpers_test.go
@@ -52,9 +52,14 @@ func runScenario(t *testing.T, scenario string, expected []ExpectedEvent) {
func runScenarioResult(t *testing.T, scenario string, expected []ExpectedEvent) (TestResult, int) {
t.Helper()
+ return runScenarioResultWithIorArgs(t, scenario, expected, nil)
+}
+
+func runScenarioResultWithIorArgs(t *testing.T, scenario string, expected []ExpectedEvent, extraIorArgs []string) (TestResult, int) {
+ t.Helper()
enableParallelIfRequested(t)
h := newTestHarness(t)
- result, pid, err := h.Run(scenario, defaultDuration)
+ result, pid, err := h.RunWithIorArgs(scenario, defaultDuration, extraIorArgs)
if err != nil {
t.Fatalf("run scenario %s: %v", scenario, err)
}