Skip to content

add e2e test for http3 & fix ci error#2519

Closed
zesiar0 wants to merge 27 commits intoenvoyproxy:mainfrom
zesiar0:a3bz-dev
Closed

add e2e test for http3 & fix ci error#2519
zesiar0 wants to merge 27 commits intoenvoyproxy:mainfrom
zesiar0:a3bz-dev

Conversation

@zesiar0
Copy link
Copy Markdown

@zesiar0 zesiar0 commented Jan 28, 2024

What type of PR is this?

  • feat: add e2e test

What this PR does / why we need it:

Which issue(s) this PR fixes:
Fixes #2423

Signed-off-by: A3bz <zeng921359373@163.com>
@zesiar0 zesiar0 requested a review from a team as a code owner January 28, 2024 18:10
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.50%. Comparing base (29946b0) to head (19c598f).
Report is 154 commits behind head on main.

❗ Current head 19c598f differs from pull request most recent head 84406b3. Consider uploading reports for the commit 84406b3 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2519      +/-   ##
==========================================
- Coverage   66.51%   63.50%   -3.01%     
==========================================
  Files         161      125      -36     
  Lines       22673    20604    -2069     
==========================================
- Hits        15080    13085    -1995     
+ Misses       6720     6685      -35     
+ Partials      873      834      -39     

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

Copy link
Copy Markdown
Contributor

@shawnh2 shawnh2 left a comment

Choose a reason for hiding this comment

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

can you fix the linter, thanks

zesiar0 and others added 16 commits January 31, 2024 00:55
Signed-off-by: A3bz <zeng921359373@163.com>
Signed-off-by: A3bz <zeng921359373@163.com>
# Conflicts:
#	go.sum
#	test/e2e/base/manifests.yaml
Signed-off-by: A3bz <zeng921359373@163.com>
Signed-off-by: zesiar0 <zeng921359373@163.com>
Signed-off-by: zesiar0 <zeng921359373@163.com>
Signed-off-by: zesiar0 <zeng921359373@163.com>
add pod bootstrap command

Signed-off-by: A3bz <59257677+zesiar0@users.noreply.github.com>
resolve conflicts

Signed-off-by: A3bz <59257677+zesiar0@users.noreply.github.com>
zesiar0 and others added 4 commits March 5, 2024 13:08
Signed-off-by: zesiar0 <zeng921359373@163.com>
Signed-off-by: zesiar0 <zeng921359373@163.com>
@zesiar0
Copy link
Copy Markdown
Author

zesiar0 commented Mar 6, 2024

@shawnh2 it seems that the error has nothing to do with my code

@Xunzhuo
Copy link
Copy Markdown
Member

Xunzhuo commented Mar 6, 2024

/retest

@zesiar0 zesiar0 requested review from Xunzhuo and shawnh2 March 7, 2024 04:01
Tracer: qlog.DefaultTracer,
},
Dial: func(ctx context.Context, addr string, tlsCfg *tls.Config, cfg *quic.Config) (quic.EarlyConnection, error) {
if addr == "www.example.com:443" {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

does this addr has something to do with the server in L47? If so, can we turn it into a parameter? just to make this function more generic.

}, nil
}

func defaultRoundTrip(request roundtripper.Request, transport *http3.RoundTripper) (*roundtripper.CapturedRequest, *roundtripper.CapturedResponse, error) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can you make all the name of these functions explicit with http3? may help others to know these functions are exclusive for HTTP3

},
}

func CaptureRoundTrip(request roundtripper.Request, gwAddr string) (*roundtripper.CapturedRequest, *roundtripper.CapturedResponse, error) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should we equip this with retry ability?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

why? It seems unnecessary and there is no such ability in sigs.k8s.io/gateway-api either

zesiar0 added 2 commits March 9, 2024 06:50
Signed-off-by: zesiar0 <zeng921359373@163.com>
fmt.Printf("Sending Request:\n%s\n\n", formatDump(dumpReq, "<? "))

var resp *httpv1.Response
err = retryv1.Do(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

please kindly use httputils.AwaitConvergence from gatewayapi project, or retry from k8s.
let's keep consistency.

@arkodg arkodg added this to the v1.0.0 milestone Mar 11, 2024
@arkodg arkodg removed the road-to-ga label Mar 13, 2024
@arkodg arkodg modified the milestones: v1.0.0, Backlog Mar 13, 2024
zesiar0 added 4 commits April 2, 2024 12:43
# Conflicts:
#	go.mod
#	go.sum
#	test/e2e/base/manifests.yaml
Signed-off-by: zesiar0 <zeng921359373@163.com>
Signed-off-by: zesiar0 <zeng921359373@163.com>
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. Please feel free to give a status update now, ping for review, when it's ready. Thank you for your contributions!

@github-actions github-actions bot added the stale label May 11, 2024
@zirain
Copy link
Copy Markdown
Member

zirain commented May 10, 2025

@zesiar0 are you still working on this?

@github-actions github-actions bot removed the stale label May 10, 2025
@arkodg
Copy link
Copy Markdown
Contributor

arkodg commented May 23, 2025

closing this PR since its become inactive, feel free to reopen if you're still working on it

@arkodg arkodg closed this May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

E2E for HTTP3

5 participants