Skip to content

Commit

Permalink
minor change v2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Neilblaze committed Mar 16, 2023
1 parent 9029d0c commit 555bfaf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions connectivity/tests/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 555bfaf

Please sign in to comment.