From 26b2210775c546cdd83c4f5c800cdd12b7ad63ab Mon Sep 17 00:00:00 2001 From: mitchell Date: Fri, 25 Oct 2024 11:41:23 -0400 Subject: [PATCH] Use runtime sourcing timeout opt to fix failing test. --- test/integration/activate_int_test.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/integration/activate_int_test.go b/test/integration/activate_int_test.go index f6690f2dbc..7cb4c87653 100644 --- a/test/integration/activate_int_test.go +++ b/test/integration/activate_int_test.go @@ -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) }