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

test: run main_common_test with IPv4 and v6 #4365

Merged
merged 2 commits into from
Sep 6, 2018

Conversation

akonradi
Copy link
Contributor

@akonradi akonradi commented Sep 6, 2018

Description:
Parameterize main_common_test over IPv4 and v6.

Risk Level: Low
Testing: ran affected test locally
Docs Changes: n/a
Release Notes: n/a
Fixes #2649

Adds an '{{ ip_any_address }}' replacement pattern and uses that to
interpolate the correct (IPv4 vs IPv6) IP address into the config.

Signed-off-by: Alex Konradi <akonradi@google.com>
Now that the config has been templatized, run the test for both
versions, injecting the right address format for each.

Signed-off-by: Alex Konradi <akonradi@google.com>
Copy link
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

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

Thanks @akonradi, nice cleanup!

@htuch htuch merged commit adda579 into envoyproxy:master Sep 6, 2018
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