Skip to content

Commit 8bde15e

Browse files
committed
Increase timeout
1 parent 1f41910 commit 8bde15e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/integration/exec_int_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@ import (
88
"runtime"
99
"strings"
1010
"testing"
11-
"time"
1211

1312
"github.com/ActiveState/cli/internal/constants"
1413
"github.com/ActiveState/cli/internal/environment"
1514
"github.com/ActiveState/cli/internal/fileutils"
1615
"github.com/ActiveState/cli/internal/testhelpers/e2e"
1716
"github.com/ActiveState/cli/internal/testhelpers/suite"
1817
"github.com/ActiveState/cli/internal/testhelpers/tagsuite"
19-
"github.com/ActiveState/termtest"
2018
)
2119

2220
type ExecIntegrationTestSuite struct {
@@ -176,7 +174,7 @@ func (suite *ExecIntegrationTestSuite) TestExeBatArguments() {
176174
inputs := []string{"a<b", "b>a", "hello world", "&whoami", "imnot|apipe", "%NotAppData%", "^NotEscaped", "(NotAGroup)"}
177175
outputs := `"` + strings.Join(inputs, `" "`) + `"`
178176
cp = ts.SpawnWithOpts(e2e.OptArgs(append([]string{"exec", reportBat, "--"}, inputs...)...))
179-
cp.Expect(outputs, termtest.OptExpectTimeout(5*time.Second))
177+
cp.Expect(outputs, e2e.RuntimeBuildSourcingTimeoutOpt)
180178
cp.ExpectExitCode(0)
181179
}
182180

0 commit comments

Comments
 (0)