-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Tests: consumers with start sequence offset + ACK deleted messages #5781
Tests: consumers with start sequence offset + ACK deleted messages #5781
Conversation
d8b811d
to
11dcba1
Compare
Addressed review feedback. Travis errors are unrelated. |
b26349f
to
d3cc8f8
Compare
Updated with additional test cases now that #5785 fixed them
|
@neilalexander or @wallyqs let me know if this is good to go and should be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall tests look OK, but let's clean up the error handling in the defer
s, as using the require_
functions is much more brief.
d3cc8f8
to
6c6ceb4
Compare
@neilalexander Addressed feedback, thank you. While this is open, I added a second commit with a new test (ACK of deleted messages) |
6c6ceb4
to
0824883
Compare
Test various ways of consuming a stream with a given sequence number offset.
Test that explicitly ACKs messages that have been already removed from a stream
0824883
to
11b2bd7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…5781) 1. Add test for consuming a stream with a given sequence start offset. - Durable consumer - Durable consumer with `Bind` - Pull consumer - Synchronous consumer - Callback subscription - Channel subscription - Get stream message - Get last stream message by subject 2. Add test where a durable consumer ACKs messages that have been deleted from a stream Signed-off-by: Marco Primi <[email protected]>
Bind
Signed-off-by: Marco Primi [email protected]