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

feat: add e2e test for envoy filter #710

Merged
merged 25 commits into from
Dec 29, 2023
Merged

Conversation

sjcsjc123
Copy link
Collaborator

Ⅰ. Describe what this PR did

扩展e2e框架,使其支持envoy config的校验,并提供了make命令,可只执行envoy config相关的e2e测试

Ⅱ. Does this pull request fix one issue?

fixes: #703

Ⅲ. Why don't you add test cases (unit test/integration test)?

给出了configmap的tracing部分的e2e测试样例,执行make higress-envoy-config-test可只运行envoy config相关的测试,本地测试已通过

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@codecov-commenter
Copy link

codecov-commenter commented Dec 18, 2023

Codecov Report

Attention: 31 lines in your changes are missing coverage. Please review.

Comparison is base (0ae376b) 34.05% compared to head (00c5beb) 38.24%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #710      +/-   ##
==========================================
+ Coverage   34.05%   38.24%   +4.18%     
==========================================
  Files          78       60      -18     
  Lines       11204     9979    -1225     
==========================================
  Hits         3816     3816              
+ Misses       7096     5871    -1225     
  Partials      292      292              
Files Coverage Δ
cmd/hgctl/config/gateway_config.go 36.05% <52.30%> (ø)

... and 18 files with indirect coverage changes

@sjcsjc123
Copy link
Collaborator Author

sjcsjc123 commented Dec 18, 2023

image
hgctl gateway-config可正常执行

json文件如何添加license信息,这里testdata是移动过来的

@johnlanni
Copy link
Collaborator

@sjcsjc123 License check failed, please add copyright to these go files.

@johnlanni
Copy link
Collaborator

cc @Xunzhuo @2456868764

Makefile.core.mk Outdated Show resolved Hide resolved
@2456868764
Copy link
Collaborator

LGTM

@sjcsjc123
Copy link
Collaborator Author

@johnlanni

@johnlanni johnlanni merged commit 89c7277 into alibaba:main Dec 29, 2023
11 checks passed
@sjcsjc123 sjcsjc123 deleted the e2e-envoy-config branch January 14, 2024 06:45
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.

实现基于校验envoy配置的e2e test
4 participants