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

Changes to Pubsub Test for ExactlyOnce #269

Merged
merged 4 commits into from Mar 17, 2022

Conversation

AlexCuse
Copy link
Contributor

Noticed one bad feature check (skipping if Persistent enabled, though message indicates ExactlyOnce intended).

Also added another to skip TestMessageCtx - this can also be addressed by calling publish the second time with a new message ID but I am not sure if that would invalidate the test in other situation?

@AlexCuse
Copy link
Contributor Author

With these couple changes I am able to get a basic exactly once test running with a WIP NATS jetstream client - it makes sense to me why the changes would be needed for the NATs implementation but I am not sure if this coverage would be needed for other pubsubs that support exactly once, may need to find a different way to test.

@roblaszczak
Copy link
Member

LGTM, thanks for the contribution! @AlexCuse

@roblaszczak roblaszczak merged commit 28527d6 into ThreeDotsLabs:master Mar 17, 2022
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.

None yet

2 participants