-
Notifications
You must be signed in to change notification settings - Fork 4.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
Add more streaming tests #9188
Add more streaming tests #9188
Conversation
35b13a4
to
e0014fe
Compare
e72316f
to
f65b990
Compare
f65b990
to
8963d4b
Compare
Restored from streaming-rpc-final branch. Co-authored-by: Paul Banks <[email protected]>
Add a test for catalog_event snapshot on connect topic
8963d4b
to
1156519
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.
Thanks, looks great!
payload.key = n.Service.Proxy.DestinationServiceName | ||
} | ||
|
||
event.Payload = payload |
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.
Was this a bug found by the added tests?
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.
Unfortunately not, I think the test I had added only tested the non-connect topic. This bug was found as a result of the work Mishra is doing. I added the second snapshot test after we found the bug.
🍒 If backport labels were added before merging, cherry-picking will start automatically. To retroactively trigger a backport after merging, add backport labels and re-run https://circleci.com/gh/hashicorp/consul/332868. |
🍒✅ Cherry pick of commit 6b95e8d onto |
Add more streaming tests
Also fixes a small error in the streaming docs.
Adds some additional unit and integration tests for streaming.