Skip to content

Commit

Permalink
Merge pull request #3522 from ActiveState/mitchelll/dx-3097
Browse files Browse the repository at this point in the history
Fixed test failure.
  • Loading branch information
mitchell-as authored Oct 2, 2024
2 parents d9a4a86 + bcd3f82 commit f07366a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/integration/progress_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f07366a

Please sign in to comment.