Skip to content

Commit 72a5057

Browse files
committed
Allow performance tests to run for up to a minute.
1 parent 343ef66 commit 72a5057

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/performance_int_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ func performanceTest(commands []string, expect string, samples int, maxTime time
6969
}
7070
cp := ts.SpawnWithOpts(opts...)
7171
if expect != "" {
72-
cp.Expect(expect)
72+
cp.Expect(expect, termtest.OptExpectTimeout(1*time.Minute))
7373
}
74-
cp.ExpectExitCode(0)
74+
cp.ExpectExitCode(0, termtest.OptExpectTimeout(1*time.Minute))
7575
logs, err := io.ReadAll(termtestLogs)
7676
suite.NoError(err)
7777
v := rx.FindStringSubmatch(cp.Output())

0 commit comments

Comments
 (0)