Skip to content

Commit 3286fb6

Browse files
committed
Reconcile agentgateway egress test with upstream
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
1 parent 7108370 commit 3286fb6

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎internal/e2e/suites/networking/networking_test.go‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,12 @@ func TestActorEgress(t *testing.T) {
113113
actorRef := resources.ActorRef{Atespace: networkingAtespace, Name: actorName}
114114
url := fmt.Sprintf("http://%s/healthz", target.Address())
115115

116-
// Bound the access-log scan to lines this test produced: captured before
117-
// the fetch, with slack for clock skew against the gateway's node.
118-
since := metav1.NewTime(time.Now().Add(-1 * time.Minute))
119116
status, body := fetchThroughEgressActor(t, ctx, router, actorRef, url)
120117
if status != http.StatusOK {
121118
t.Fatalf("Actor egress fetch of %s returned HTTP %d, want 200; body: %s", url, status, body)
122119
}
123120
t.Logf("Actor egress fetch of %s succeeded; body: %s", url, body)
124121

125-
assertEgressGatewayConnect(t, ctx, since, actorName, strconv.Itoa(origin.Port))
126-
127122
// The Actor resolves the name itself -- DNS leaves over the UDP masquerade,
128123
// not the tunnel, and atunnel forwards the resolved address, never the
129124
// name -- so dialing by name covers a leg the by-address fetch above skips.

0 commit comments

Comments
 (0)