Skip to content

Improve DTC test stability #3181

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

Merged
merged 1 commit into from
Feb 27, 2025
Merged

Conversation

mdaigle
Copy link
Contributor

@mdaigle mdaigle commented Feb 26, 2025

I had originally thought that the outcome of TransactionAbortedException vs TransactionInDoubtException was dependent on sql server type (azure vs. local). However, I now understand that this is timing based and the azure database test invocations can also result in TransactionInDoubtException. Update the test to check for either of the expected error conditions.

@mdaigle mdaigle requested a review from a team February 26, 2025 18:38
@mdaigle mdaigle marked this pull request as ready for review February 26, 2025 18:39
Copy link
Contributor

@benrr101 benrr101 left a comment

Choose a reason for hiding this comment

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

Looks pretty good to me.

@mdaigle mdaigle requested a review from a team February 26, 2025 22:40
Copy link

codecov bot commented Feb 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.80%. Comparing base (17cb0b0) to head (9828af2).
Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3181      +/-   ##
==========================================
- Coverage   72.96%   72.80%   -0.16%     
==========================================
  Files         283      285       +2     
  Lines       58997    59137     +140     
==========================================
+ Hits        43048    43057       +9     
- Misses      15949    16080     +131     
Flag Coverage Δ
addons 92.58% <ø> (ø)
netcore 75.53% <ø> (-0.20%) ⬇️
netfx 71.13% <ø> (-0.23%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mdaigle mdaigle merged commit e65635b into main Feb 27, 2025
252 checks passed
@mdaigle mdaigle deleted the dev/mdaigle/improve-dtc-test-stability branch February 27, 2025 15:58
@mdaigle mdaigle added this to the 7.0-preview1 milestone Mar 21, 2025
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