Skip to content

Commit

Permalink
Merge pull request #3550 from ActiveState/mitchell/dx-3122
Browse files Browse the repository at this point in the history
Fixed failing integration test.
  • Loading branch information
mitchell-as authored Oct 21, 2024
2 parents bd29067 + 8737683 commit ee6b3ee
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/integration/manifest_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,17 @@ func (suite *ManifestIntegrationTestSuite) TestManifest_Advanced_Reqs() {
cp := ts.Spawn("config", "set", constants.OptinBuildscriptsConfig, "true")
cp.ExpectExitCode(0)

ts.PrepareProject("ActiveState-CLI-Testing/Python-With-Custom-Reqs", "92ac7df2-0b0c-42f5-9b25-75b0cb4063f7")
ts.PrepareActiveStateYAML(`project: https://platform.activestate.com/ActiveState-CLI-Testing/Python-With-Custom-Reqs?branch=main&commitID=92ac7df2-0b0c-42f5-9b25-75b0cb4063f7
config_version: 1`) // need config_version to be 1 or more so the migrator does not wipe out our build script
bsf := filepath.Join(ts.Dirs.Work, constants.BuildScriptFileName)
fileutils.WriteFile(bsf, []byte(fmt.Sprintf(
err := fileutils.WriteFile(bsf, []byte(fmt.Sprintf(
"```\n"+
"Project: ActiveState-CLI-Testing/Python-With-Custom-Reqs\n"+
"Project: https://platform.activestate.com/ActiveState-CLI-Testing/Python-With-Custom-Reqs?branch=main&commitID=92ac7df2-0b0c-42f5-9b25-75b0cb4063f7\n"+
"Time: 2022-07-07T19:51:01.140Z\n"+
"```\n"+`
runtime = state_tool_artifacts_v1(src = sources)
sources = solve(
at_time = at_time,
at_time = TIME,
requirements = [
Req(name = "python", namespace = "language", version = Eq(value = "3.9.13")),
Revision(name = "IngWithRevision", revision_id = "%s"),
Expand All @@ -97,6 +98,7 @@ sources = solve(
)
main = runtime
`, e2e.CommitIDNotChecked)))
suite.Require().NoError(err)

cp = ts.SpawnWithOpts(
e2e.OptArgs("manifest"),
Expand Down

0 comments on commit ee6b3ee

Please sign in to comment.