-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix package int tests should address new user facing error
- Loading branch information
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) | ||
} | ||
|
||
|
@@ -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) | ||
} | ||
|
||
|