From bcd3f828322c1273d8eeb57c1255b61aaa0330be Mon Sep 17 00:00:00 2001 From: mitchell Date: Wed, 2 Oct 2024 09:02:27 -0400 Subject: [PATCH] Fixed test failure. The solver is getting faster! --- test/integration/progress_int_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/integration/progress_int_test.go b/test/integration/progress_int_test.go index a29d5ac7b0..f8102edc38 100644 --- a/test/integration/progress_int_test.go +++ b/test/integration/progress_int_test.go @@ -19,16 +19,17 @@ func (suite *ProgressIntegrationTestSuite) TestProgress() { defer ts.Close() cp := ts.Spawn("checkout", "ActiveState-CLI/Empty") + cp.Expect("Resolving Dependencies") + cp.ExpectRe(`[^.]+?✔ Done`, e2e.RuntimeSolvingTimeoutOpt) cp.Expect(locale.T("install_runtime")) cp.Expect("Checked out", e2e.RuntimeSourcingTimeoutOpt) - suite.Assert().NotContains(cp.Output(), "...") cp.ExpectExitCode(0) cp = ts.Spawn("checkout", "ActiveState-CLI/Empty", "Empty2", "--non-interactive") - cp.Expect("...") + cp.Expect("Resolving Dependencies") + cp.ExpectRe(`\.+ ✔ Done`, e2e.RuntimeSolvingTimeoutOpt) cp.Expect("Checked out", e2e.RuntimeSourcingTimeoutOpt) cp.ExpectExitCode(0) - } func TestProgressIntegrationTestSuite(t *testing.T) {