Skip to content

Commit

Permalink
Use runtime sourcing timeout opt to fix failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-as committed Oct 25, 2024
1 parent 8158813 commit 26b2210
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/integration/activate_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -582,11 +582,8 @@ func (suite *ActivateIntegrationTestSuite) TestActivateBranch() {

namespace := "ActiveState-CLI/Branches"

cp := ts.Spawn("config", "set", constants.AsyncRuntimeConfig, "true")
cp.ExpectExitCode(0)

cp = ts.Spawn("activate", namespace, "--branch", "firstbranch")
cp.Expect("Activated")
cp := ts.Spawn("activate", namespace, "--branch", "firstbranch")
cp.Expect("Activated", e2e.RuntimeSourcingTimeoutOpt) // note: activate always sources the runtime
cp.SendLine("exit")
cp.ExpectExitCode(0)
}
Expand Down

0 comments on commit 26b2210

Please sign in to comment.