From 99e99c6ea35ae97e84d727449f9ad7c4c0a9fa23 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 27 May 2026 21:57:37 +0300 Subject: Stabilize integration test startup --- integrationtests/helpers_test.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'integrationtests/helpers_test.go') 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 @@ -51,10 +51,15 @@ 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) } -- cgit v1.2.3