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

Fix test error and change pipeline to properly report test crash #4204

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Feb 26, 2024

Change

Fixes a test error that would crash the process due an exception from a destructor (in test code).

Changes the tasks that run these tests to use condition: succeededOrFailed() rather than continueOnError: true, as the latter results in a warning rather than the formers error.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS requested a review from a team as a code owner February 26, 2024 23:06
@JohnMcPMS JohnMcPMS merged commit a3c686b into microsoft:master Feb 27, 2024
8 checks passed
@JohnMcPMS JohnMcPMS deleted the test-fix branch February 27, 2024 01:06
JohnMcPMS added a commit to JohnMcPMS/winget-cli that referenced this pull request Feb 27, 2024
…rosoft#4204)

## Change
Fixes a test error that would crash the process due an exception from a
destructor (in test code).

Changes the tasks that run these tests to use `condition:
succeededOrFailed()` rather than `continueOnError: true`, as the latter
results in a warning rather than the formers error.
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/4204)
ryfu-msft pushed a commit that referenced this pull request Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants