Skip to content

Split When_sending_within_an_ambient_transaction into two distinct tests and improve done condition#7695

Merged
mauroservienti merged 3 commits intomasterfrom
done-condition
Apr 14, 2026
Merged

Split When_sending_within_an_ambient_transaction into two distinct tests and improve done condition#7695
mauroservienti merged 3 commits intomasterfrom
done-condition

Conversation

@danielmarbach
Copy link
Copy Markdown
Contributor

@danielmarbach danielmarbach commented Apr 14, 2026

When_sending_within_an_ambient_transaction was testing two distinct things, and due to that, during the acceptance test done condition refactoring, I missed an overlapping condition. This has caused test failures in three different repositories

Particular/NServiceBus.Transport.Msmq#891
Particular/NServiceBus.SqlServer#1655
Particular/NServiceBus.NHibernate#1378

This PR splits the test into two distinct tests with corresponding done conditions for the scenarios being tested.

@danielmarbach
Copy link
Copy Markdown
Contributor Author

FYI @tamararivera

Copy link
Copy Markdown
Member

@andreasohlund andreasohlund left a comment

Choose a reason for hiding this comment

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

@danielmarbach updated test names as we discussed

@danielmarbach
Copy link
Copy Markdown
Contributor Author

@andreasohlund LGTM

@mauroservienti mauroservienti merged commit 71254c7 into master Apr 14, 2026
4 checks passed
@mauroservienti mauroservienti deleted the done-condition branch April 14, 2026 12:44
@mauroservienti mauroservienti added this to the 10.1.2 milestone Apr 14, 2026
@mauroservienti mauroservienti changed the title Split When_sending_within_an_ambient_transaction into two distinct tests and improve done condition Split When_sending_within_an_ambient_transaction into two distinct tests and improve done condition Apr 14, 2026
mauroservienti pushed a commit that referenced this pull request Apr 14, 2026
…sts and improve done condition (#7695)

* Split When_sending_within_an_ambient_transaction into two distinct tests and improve done condition

* Improve naming

* Typo

---------

Remove attributes

Co-Authored-By: Andreas Öhlund <andreas.ohlund@particular.net>
Co-Authored-By: Daniel Marbach <daniel.marbach@openplace.net>
danielmarbach added a commit that referenced this pull request Apr 14, 2026
…sts and improve done condition (#7695) (#7697)

* Split When_sending_within_an_ambient_transaction into two distinct tests and improve done condition

* Improve naming

* Typo

---------

Remove attributes

Co-authored-by: Daniel Marbach <daniel.marbach@openplace.net>
Co-authored-by: Andreas Öhlund <andreas.ohlund@particular.net>
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.

3 participants