Skip to content

Commit

Permalink
Merge pull request #3503 from ActiveState/mitchell/dx-3075
Browse files Browse the repository at this point in the history
Fixed failing integration tests.
  • Loading branch information
mitchell-as authored Sep 24, 2024
2 parents 5515ef4 + ff7c569 commit 44d3237
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion test/integration/pull_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (suite *PullIntegrationTestSuite) TestMergeBuildScript() {
cp.ExpectExitCode(0)

cp = ts.Spawn("install", "shared/zlib")
cp.Expect("Package added", e2e.RuntimeSourcingTimeoutOpt)
cp.Expect("Added", e2e.RuntimeSourcingTimeoutOpt)
cp.ExpectExitCode(0)

proj, err := project.FromPath(ts.Dirs.Work)
Expand Down
12 changes: 6 additions & 6 deletions test/integration/push_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ func (suite *PushIntegrationTestSuite) TestInitAndPush() {
cp = ts.Spawn("install", suite.extraPackage)
switch runtime.GOOS {
case "darwin":
cp.ExpectRe("added|being built", termtest.OptExpectTimeout(60*time.Second)) // while cold storage is off
cp.ExpectRe("Added|being built", termtest.OptExpectTimeout(60*time.Second)) // while cold storage is off
cp.Wait()
default:
cp.Expect("added", termtest.OptExpectTimeout(60*time.Second))
cp.Expect("Added", termtest.OptExpectTimeout(60*time.Second))
cp.ExpectExitCode(0)
}

Expand Down Expand Up @@ -129,10 +129,10 @@ func (suite *PushIntegrationTestSuite) TestPush_NoPermission_NewProject() {
cp = ts.Spawn("install", suite.extraPackage)
switch runtime.GOOS {
case "darwin":
cp.ExpectRe("added|being built", termtest.OptExpectTimeout(60*time.Second)) // while cold storage is off
cp.ExpectRe("Added|being built", termtest.OptExpectTimeout(60*time.Second)) // while cold storage is off
cp.Wait()
default:
cp.Expect("added", termtest.OptExpectTimeout(60*time.Second))
cp.Expect("Added", termtest.OptExpectTimeout(60*time.Second))
cp.ExpectExitCode(0)
}

Expand Down Expand Up @@ -192,10 +192,10 @@ func (suite *PushIntegrationTestSuite) TestCarlisle() {
)
switch runtime.GOOS {
case "darwin":
cp.ExpectRe("added|being built", e2e.RuntimeSourcingTimeoutOpt) // while cold storage is off
cp.ExpectRe("Added|being built", e2e.RuntimeSourcingTimeoutOpt) // while cold storage is off
cp.Wait()
default:
cp.Expect("added", e2e.RuntimeSourcingTimeoutOpt)
cp.Expect("Added", e2e.RuntimeSourcingTimeoutOpt)
cp.ExpectExitCode(0)
}

Expand Down
2 changes: 1 addition & 1 deletion test/integration/reset_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (suite *ResetIntegrationTestSuite) TestReset() {
cp.ExpectExitCode(0)

cp = ts.Spawn("install", "shared/zlib")
cp.Expect("Package added")
cp.Expect("Added")
cp.ExpectExitCode(0)

cp = ts.Spawn("history")
Expand Down
2 changes: 1 addition & 1 deletion test/integration/revert_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (suite *RevertIntegrationTestSuite) TestRevertRemote() {
cp.ExpectExitCode(0)

cp = ts.Spawn("install", "requests")
cp.Expect("Added: requests")
cp.Expect("Added: language/python/requests")
cp.ExpectExitCode(0)

cp = ts.Spawn("revert", "REMOTE", "--non-interactive")
Expand Down

0 comments on commit 44d3237

Please sign in to comment.