Skip to content

Commit

Permalink
Merge pull request #2828 from ActiveState/DX-2287
Browse files Browse the repository at this point in the history
  • Loading branch information
Naatan authored Oct 18, 2023
2 parents 96be607 + 89ee49b commit 29428ec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/integration/package_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,9 @@ func (suite *PackageIntegrationTestSuite) TestInstall_InvalidVersion() {
e2e.OptArgs("install", "[email protected]"),
e2e.OptAppendEnv(constants.DisableRuntime+"=false"),
)
cp.Expect("Error occurred while trying to create a commit")
// User facing error from build planner
// We only assert the state tool curated part of the error as the underlying build planner error may change
cp.Expect("Could not plan build")
cp.ExpectExitCode(1)
}

Expand All @@ -607,7 +609,9 @@ func (suite *PackageIntegrationTestSuite) TestUpdate_InvalidVersion() {
e2e.OptArgs("install", "[email protected]"), // update
e2e.OptAppendEnv(constants.DisableRuntime+"=false"), // We DO want to test the runtime part, just not for every step
)
cp.Expect("Error occurred while trying to create a commit")
// User facing error from build planner
// We only assert the state tool curated part of the error as the underlying build planner error may change
cp.Expect("Could not plan build")
cp.ExpectExitCode(1)
}

Expand Down

0 comments on commit 29428ec

Please sign in to comment.