Fix typo in multinode_test.go

pull/11928/head
Rajwinder Mahal 2021-07-07 16:35:16 -07:00
parent e4c21af8fb
commit 0da9c4b4c1
No known key found for this signature in database
GPG Key ID: 86D607CAFD33BCD2
1 changed files with 2 additions and 2 deletions

View File

@ -466,13 +466,13 @@ func validateDeployAppToMultiNode(ctx context.Context, t *testing.T, profile str
_, err = Run(t, exec.CommandContext(ctx, Target(), "kubectl", "-p", profile, "--", "rollout", "status", "deployment/busybox"))
if err != nil {
t.Errorf("failed to delploy busybox to multinode cluster")
t.Errorf("failed to deploy busybox to multinode cluster")
}
// resolve Pod IPs
rr, err := Run(t, exec.CommandContext(ctx, Target(), "kubectl", "-p", profile, "--", "get", "pods", "-o", "jsonpath='{.items[*].status.podIP}'"))
if err != nil {
t.Errorf("failed retrieve Pod IPs")
t.Errorf("failed to retrieve Pod IPs")
}
podIPs := strings.Split(strings.Trim(rr.Stdout.String(), "'"), " ")
if len(podIPs) != 2 {