From 3cd07216e1246614b0788dcb1c33058a9554e888 Mon Sep 17 00:00:00 2001 From: Shane Warden Date: Wed, 25 Nov 2026 09:34:44 -0800 Subject: [PATCH 1/2] Stop requesting Camel builds in the install tests Installing a package triggers a new build. Drop the Camel cases so the install tests no longer request Camel builds. The Alternative cases still cover install. Co-Authored-By: Claude Opus 5.5 --- test/integration/install_int_test.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/test/integration/install_int_test.go b/test/integration/install_int_test.go index 5bc9e139b5..ad4be6dfc6 100644 --- a/test/integration/install_int_test.go +++ b/test/integration/install_int_test.go @@ -149,24 +149,12 @@ func (suite *InstallIntegrationTestSuite) TestInstall_SolverV2() { Package string ExpectedFail bool }{ - { - "Python-Camel", - "ActiveState-CLI/Python3#971e48e4-7f9b-44e6-ad48-86cd03ffc12d", - "requests", - false, - }, { "Python-Alternative", "ActiveState-CLI/Python3-Alternative#c2b3f176-4788-479c-aad3-8359d28ba3ce", "requests", false, }, - { - "Perl-Camel", - "ActiveState-CLI/Perl#a0a1692e-d999-4763-b933-2d0d5758bf12", - "JSON", - false, - }, { "Perl-Alternative", "ActiveState-CLI/Perl-Alternative#ccc57e0b-fccf-41c1-8e1c-24f4de2e55fa", From e3d14fbedd55355b28f3551aff899e7de8b1a0ce Mon Sep 17 00:00:00 2001 From: Shane Warden Date: Wed, 25 Nov 2026 09:54:30 -0800 Subject: [PATCH 2/2] Remove TestActivatePerlCamel Camel builds are no longer tested, so drop the Camel Perl activation test too. Co-Authored-By: Claude Opus 5.5 --- test/integration/activate_int_test.go | 33 --------------------------- 1 file changed, 33 deletions(-) diff --git a/test/integration/activate_int_test.go b/test/integration/activate_int_test.go index 7cb4c87653..136f86deb0 100644 --- a/test/integration/activate_int_test.go +++ b/test/integration/activate_int_test.go @@ -12,7 +12,6 @@ import ( "time" "github.com/ActiveState/cli/internal/locale" - "github.com/ActiveState/termtest" "github.com/ActiveState/cli/internal/testhelpers/suite" @@ -347,38 +346,6 @@ func (suite *ActivateIntegrationTestSuite) TestActivate_SpaceInCacheDir() { cp.ExpectExitCode(0) } -func (suite *ActivateIntegrationTestSuite) TestActivatePerlCamel() { - suite.OnlyRunForTags(tagsuite.Activate, tagsuite.Perl, tagsuite.Critical) - if runtime.GOOS == "darwin" { - suite.T().Skip("Perl not supported on macOS") - } - - ts := e2e.New(suite.T(), false) - defer ts.Close() - close := suite.addForegroundSvc(ts) - defer close() - - cp := ts.Spawn("activate", "ActiveState-CLI/Perl") - - cp.Expect("Downloading", termtest.OptExpectTimeout(40*time.Second)) - cp.Expect("Installing", termtest.OptExpectTimeout(140*time.Second)) - cp.Expect("Activated", e2e.RuntimeSourcingTimeoutOpt) - - suite.assertCompletedStatusBarReport(cp.Output()) - - // ensure that shell is functional - cp.ExpectInput() - - cp.SendLine("perldoc -l DBI::DBD") - // Expect the source code to be installed in the cache directory - // Note: At least for Windows we cannot expect cp.Dirs.Cache, because it is unreliable how the path name formats are unreliable (sometimes DOS 8.3 format, sometimes not) - cp.Expect("cache") - cp.Expect("DBD.pm") - - cp.SendLine("exit") - cp.ExpectExitCode(0) -} - func (suite *ActivateIntegrationTestSuite) TestActivate_Subdir() { suite.OnlyRunForTags(tagsuite.Activate, tagsuite.Critical) ts := e2e.New(suite.T(), false)