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

refactor: remove explicit test case definition for xds translator test #3230

Merged
merged 4 commits into from
Apr 25, 2024

Conversation

shawnh2
Copy link
Contributor

@shawnh2 shawnh2 commented Apr 21, 2024

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #2229

Signed-off-by: shawnh2 <shawnhxh@outlook.com>
@shawnh2 shawnh2 requested a review from a team as a code owner April 21, 2024 08:23
Signed-off-by: shawnh2 <shawnhxh@outlook.com>
{
name: "ratelimit",
"multiple-listeners-same-port": {
requireSecrets: true,
Copy link
Contributor

Choose a reason for hiding this comment

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

can this check also be removed, and secrets be asserted if a secrets file exists ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good idea!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

by removing requireSecrets and checking secrets from translator result, I found some xxx.secret.yaml were missing, so added in this PR as well

@@ -14,26 +15,6 @@
initialStreamWindowSize: 65536
maxConcurrentStreams: 100
httpFilters:
- name: envoy.filters.http.jwt_authn
Copy link
Contributor

Choose a reason for hiding this comment

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

why is this changing ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

because this test file has been ignored (not explicit defined in test cases) until now, its content is outdated.

Copy link
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

LGTM thanks !

@arkodg arkodg requested review from a team April 24, 2024 22:04
@zirain zirain merged commit dde05a9 into envoyproxy:main Apr 25, 2024
17 checks passed
@shawnh2 shawnh2 deleted the xds-test branch April 25, 2024 09:08
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.

Remove the need to specify test name in xds translator lib
3 participants