Skip to content

Conversation

@tunterreitmeier
Copy link
Contributor

This PR tries to allow manually (and conveniently) overriding the retry flag on a per-test basis.
I feel like most people tend to configure their TestTransports with disabled retries (globally).
However, when trying to test for instance a custom retry strategy, error listener, etc. I would like to enable retries just for this test case.

P.S. Thanks for this great Bundle. I just refactored a code base that had a custom variation of this with an InMemoryTransport. Was able to get rid of a lot of custom code and ended up with easier tests.

Copy link
Member

@nikophil nikophil left a comment

Choose a reason for hiding this comment

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

@nikophil nikophil merged commit 842948e into zenstruck:1.x Feb 11, 2026
18 checks passed
@nikophil
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants