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/helpers_test.go | |
| parent | 45e02c6754dbc8217713d81d792bfc83e8523505 (diff) | |
Stabilize integration test startup
Diffstat (limited to 'integrationtests/helpers_test.go')
| -rw-r--r-- | integrationtests/helpers_test.go | 7 |
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) } |
