Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed test failure. #3522

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Fixed test failure. #3522

merged 1 commit into from
Oct 2, 2024

Conversation

mitchell-as
Copy link
Contributor

@mitchell-as mitchell-as commented Oct 2, 2024

BugDX-3097 Nightly failure: TestProgressIntegrationTestSuite/TestProgress

The solver is getting faster!

@mitchell-as mitchell-as force-pushed the mitchelll/dx-3097 branch 4 times, most recently from ff69c6e to 49ca52a Compare October 2, 2024 13:42
The solver is getting faster!
@mitchell-as mitchell-as requested a review from Naatan October 2, 2024 14:05
@mitchell-as mitchell-as marked this pull request as ready for review October 2, 2024 14:05
Comment on lines +22 to +23
cp.Expect("Resolving Dependencies")
cp.ExpectRe(`[^.]+?✔ Done`, e2e.RuntimeSolvingTimeoutOpt)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This first checkout seems to specifically be about asserting that it does NOT use dot progress, but these changes seem to make it so that it is asserting that it DOES use dot progress.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test is expecting that there are no dots between "Resolving Dependencies" and "✔ Done", so it's asserting that it does NOT use dot progress.

I had to do a few iterations of this test, and during these iterations I found that cp.Output() gave me all the escape sequences of the \, |, and / interactive progress between "Resolving Dependencies" and "✔ Done". I am confident this test is working as intended.

Copy link
Member

@Naatan Naatan Oct 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh.. the way the regex is written I had assumed it was checking for ... ✔ Done. I had interpreted the dot as a literal dot rather than a regex rule. Might be worth adding a comment for clarity.

@mitchell-as mitchell-as requested a review from Naatan October 2, 2024 19:45
@mitchell-as mitchell-as merged commit f07366a into version/0-47-0-RC1 Oct 2, 2024
8 checks passed
@mitchell-as mitchell-as deleted the mitchelll/dx-3097 branch October 2, 2024 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants