diff --git a/test/integration/import_int_test.go b/test/integration/import_int_test.go index b55fff639f..7fd0e0d9ea 100644 --- a/test/integration/import_int_test.go +++ b/test/integration/import_int_test.go @@ -6,6 +6,9 @@ import ( "path/filepath" "strings" "testing" + "time" + + "github.com/ActiveState/termtest" "github.com/ActiveState/cli/internal/constants" "github.com/ActiveState/cli/internal/testhelpers/e2e" @@ -122,7 +125,7 @@ func (suite *ImportIntegrationTestSuite) TestImport() { cp.ExpectExitCode(0) cp = ts.Spawn("import", "requirements.txt") - cp.ExpectExitCode(0) + cp.ExpectExitCode(0, termtest.OptExpectTimeout(30*time.Second)) cp = ts.Spawn("packages") cp.Expect("coverage")