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 egbuilder bug, add integration tests for egbuilder #1164

Merged
merged 2 commits into from
Dec 8, 2023

Conversation

suchen-sci
Copy link
Contributor

As described in issue #1163 , the generated code by usingegbuilder contains a bug. This pr fix this bug and also add more integration tests for it.

@codecov-commenter
Copy link

codecov-commenter commented Dec 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e8dc3e8) 81.25% compared to head (2aa465d) 81.05%.
Report is 2 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1164      +/-   ##
==========================================
- Coverage   81.25%   81.05%   -0.20%     
==========================================
  Files         149      149              
  Lines       16946    16962      +16     
==========================================
- Hits        13769    13749      -20     
- Misses       2524     2558      +34     
- Partials      653      655       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

return cmd
}

func egctlCmd(args ...string) *exec.Cmd {
return egctlWithServer("http:https://127.0.0.1:12381", args...)
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we use the default option http:https://127.0.0.1:2381 in server.

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 question!
this integration test runs with primary-single instance in example folder. it uses 12381 as its api address...

@xxx7xxxx xxx7xxxx added this pull request to the merge queue Dec 8, 2023
Merged via the queue into easegress-io:main with commit 48e60b5 Dec 8, 2023
8 checks passed
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.

None yet

3 participants