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

Fix fake_upstreams_ index for xds_upstream_ in tests #14251

Merged
merged 1 commit into from
Dec 3, 2020
Merged

Fix fake_upstreams_ index for xds_upstream_ in tests #14251

merged 1 commit into from
Dec 3, 2020

Conversation

tbarrella
Copy link
Contributor

Commit Message:

Fix fake_upstreams_ index for xds_upstream_ in tests

fake_upstreams_ could have more or less than 2 elements depending on fake_upstream_count_

Signed-off-by: Taylor Barrella [email protected]

Additional Description: See createUpstreams() in BaseIntegrationTest::initialize()
Risk Level: Low
Testing: Run integration tests that set fake_upstream_count_ != 2 (protocol_integration_test and tcp_proxy_integration_test)
Docs Changes: N/A
Release Notes: N/A

fake_upstreams_ could have more or less than 2 elements depending on
fake_upstream_count_

Signed-off-by: Taylor Barrella <[email protected]>
Copy link
Contributor

@alyssawilk alyssawilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks!

@alyssawilk alyssawilk merged commit 9004d7a into envoyproxy:master Dec 3, 2020
@tbarrella tbarrella deleted the xds-upstream branch December 3, 2020 22:26
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.

2 participants