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

add missing test coverage for AbandonedMutexException in NuGet migrations logic #4982

Merged
merged 7 commits into from
Dec 19, 2022

Conversation

kartheekp-ms
Copy link
Contributor

Bug

Tracking: NuGet/Home#12159

Regression? Last working version:

Description

I noticed that test coverage is missing for a scenario when I addressed the linked (tracking) issue in 41c08c5 and 3f3f9ec commits. Basically, the scenario is, whenever a thread is abandoned because of the application has been terminated abruptly (for example, by using Windows Task Manager) then the next migration run executes successfully. No product changes are introduced in this PR.

PR Checklist

  • PR has a meaningful title

  • PR has a linked issue.

  • Described changes

  • Tests

    • Automated tests added
    • OR
    • N/A
  • Documentation

    • N/A

@kartheekp-ms kartheekp-ms requested a review from a team as a code owner December 12, 2022 19:02
dominoFire
dominoFire previously approved these changes Dec 12, 2022
Copy link
Contributor

@dominoFire dominoFire left a comment

Choose a reason for hiding this comment

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

LGTM. One comment. Thanks!

@kartheekp-ms kartheekp-ms force-pushed the dev-kpms-test-abandonedmutex-error branch from bb27126 to 170c754 Compare December 14, 2022 00:18
@kartheekp-ms kartheekp-ms merged commit 08a7a7b into dev Dec 19, 2022
@kartheekp-ms kartheekp-ms deleted the dev-kpms-test-abandonedmutex-error branch December 19, 2022 16:25
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.

4 participants