Skip to content

Commit 12e2f60

Browse files
authored
Merge pull request #3767 from ActiveState/mitchell/cp-1130
Allow performance test expectations to run for up to a minute.
2 parents 343ef66 + 72a5057 commit 12e2f60

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)