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

Investigate duplicate events with default persistent subscription settings in Issue 1125 Test #139

Open
hayley-jean opened this issue Jul 13, 2021 · 0 comments
Labels
bug Something isn't working subsystem/persistent subs

Comments

@hayley-jean
Copy link
Member

The test Issue_1125 fails when using the default settings when creating the persistent subscription.

When the settings are left as default, the persistent subscription in the test gets duplicate events at position 250. These events aren't retries, so it is possible that there are duplicate events being published as the subscription goes live.

To Reproduce
Steps to reproduce the behavior:

  1. Remove the readBatchSize: 10, historyBufferSize: 20 parameters when creating the persistent subscription in the test.
  2. Run the test on CI

Expected behavior
The test passes.

Actual behavior
The test consistently fails with 502 events received when it expected 500.

Additional context
This was discovered in PR #127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working subsystem/persistent subs
Projects
None yet
Development

No branches or pull requests

2 participants