diff --git a/connectivity/tests/host.go b/connectivity/tests/host.go index d6cbce141c..17113f99af 100644 --- a/connectivity/tests/host.go +++ b/connectivity/tests/host.go @@ -47,8 +47,9 @@ func (s *podToHost) Run(ctx context.Context, t *check.Test) { return } - dst := check.ICMPEndpoint("", addr.Address) - t.NewAction(s, fmt.Sprintf("ping-%s-%d", ipFam, i), &pod, dst, ipFam).Run(func(a *check.Action) { + dst := check.ICMPEndpoint("", dstAddrs[0]) + msg := fmt.Sprintf("ping-%s-%d", ipFam, i) + t.NewAction(s, msg, &pod, dst, ipFam).Run(func(a *check.Action) { a.ExecInPod(ctx, ct.PingCommand(dst, ipFam)) a.ValidateFlows(ctx, pod, a.GetEgressRequirements(check.FlowParameters{