summaryrefslogtreecommitdiff
path: root/integrationtests/helpers_test.go
diff options
context:
space:
mode:
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)
}