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

Add more streaming tests #9188

Merged
merged 6 commits into from
Feb 26, 2021
Merged

Add more streaming tests #9188

merged 6 commits into from
Feb 26, 2021

Conversation

dnephin
Copy link
Contributor

@dnephin dnephin commented Nov 13, 2020

Also fixes a small error in the streaming docs.

Adds some additional unit and integration tests for streaming.

@dnephin dnephin added the theme/streaming Related to Streaming connections between server and client label Nov 13, 2020
@github-actions github-actions bot added theme/health-checks Health Check functionality type/docs Documentation needs to be created/updated/clarified labels Nov 13, 2020
@dnephin dnephin added backport/1.9 and removed theme/health-checks Health Check functionality labels Nov 13, 2020
@dnephin dnephin requested a review from a team November 17, 2020 22:01
@dnephin dnephin force-pushed the dnephin/more-streaming-tests branch from 35b13a4 to e0014fe Compare December 4, 2020 20:25
dnephin and others added 3 commits February 25, 2021 14:30
Restored from streaming-rpc-final branch.

Co-authored-by: Paul Banks <[email protected]>
Add a test for catalog_event snapshot on connect topic
Copy link
Member

@banks banks left a 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
Copy link
Member

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?

Copy link
Contributor Author

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.

@dnephin dnephin merged commit 6b95e8d into master Feb 26, 2021
@dnephin dnephin deleted the dnephin/more-streaming-tests branch February 26, 2021 17:36
@hashicorp-ci
Copy link
Contributor

🍒 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.

@hashicorp-ci
Copy link
Contributor

🍒✅ Cherry pick of commit 6b95e8d onto release/1.9.x succeeded!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/streaming Related to Streaming connections between server and client type/docs Documentation needs to be created/updated/clarified
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants