Skip to content

e2e: add a egress test on http request to non 80 port - #1054

Open
yufan-su wants to merge 1 commit into
agent-substrate:mainfrom
yufan-su:e2e-http-non-80-port
Open

e2e: add a egress test on http request to non 80 port#1054
yufan-su wants to merge 1 commit into
agent-substrate:mainfrom
yufan-su:e2e-http-non-80-port

Conversation

@yufan-su

@yufan-su yufan-su commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

This PR adds TestActorEgressNonStandardPort to the networking suite: an Actor fetches an in-cluster HTTP origin on :8080 through the egress gateway, and we assert both a 200 and an atenet-egress access-log line carrying authority=:8080 with this Actor's SPIFFE SAN.

Changes

  • internal/e2e/fixtures/egressprobe/httptarget.yaml.tmpl — a Pod + Service on 8080. Reuses the existing egressprobe binary with --listen=:8080

  • internal/e2e/suites/networking/httptarget_test.go — startHTTPTarget renders the manifest into the suite's namespace, applies it via hack/run-tool.sh ko, waits on readiness, and returns the ClusterIP.

  • internal/e2e/suites/networking/networking_test.go — the test itself, reusing createAndResumeActor, fetchThroughEgressActor and assertEgressGatewayConnect unchanged.

  • Tests pass

#1017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants