Skip to content

Commit

Permalink
We don't need a TTY
Browse files Browse the repository at this point in the history
  • Loading branch information
concaf committed Jul 22, 2020
1 parent d694487 commit 18f3842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/addons_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func validateAmbassadorAddon(ctx context.Context, t *testing.T, profile string)
}

checkAmbassadorIngress := func() error {
rrStatus, err := Run(t, exec.CommandContext(ctx, "kubectl", "--context", profile, "run", "--rm", "ambassador-test", "--restart=Never", "--image=busybox", "-it", "--", "sh", "-c", "wget --spider -S http://ambassador.ambassador.svc.cluster.local/hello/"))
rrStatus, err := Run(t, exec.CommandContext(ctx, "kubectl", "--context", profile, "run", "--rm", "ambassador-test", "--restart=Never", "--image=busybox", "-i", "--", "sh", "-c", "wget --spider -S http://ambassador.ambassador.svc.cluster.local/hello/"))
if err != nil {
t.Errorf("failed to hit ambassador.ambassador.svc.cluster.local/hello/, args %q failed: %v", rrStatus.Command(), err)
return err
Expand Down

0 comments on commit 18f3842

Please sign in to comment.