Skip to content

Commit 18f3842

Browse files
committed
We don't need a TTY
1 parent d694487 commit 18f3842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/addons_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func validateAmbassadorAddon(ctx context.Context, t *testing.T, profile string)
208208
}
209209

210210
checkAmbassadorIngress := func() error {
211-
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/"))
211+
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/"))
212212
if err != nil {
213213
t.Errorf("failed to hit ambassador.ambassador.svc.cluster.local/hello/, args %q failed: %v", rrStatus.Command(), err)
214214
return err

0 commit comments

Comments
 (0)