test/integration: increase timeout to a minute to see if it helps
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
parent
14a28bec24
commit
f2a48aee2b
@ -606,7 +606,7 @@ func TestImpersonationProxy(t *testing.T) { //nolint:gocyclo // yeah, it's compl
|
||||
|
||||
// see that we can read stdout and it spits out stdin output back to us
|
||||
wantAttachStdout := fmt.Sprintf("VAR: %s\n", echoString)
|
||||
require.Eventuallyf(t, func() bool { return attachStdout.String() == wantAttachStdout }, time.Second*30, time.Second, `got "kubectl attach" stdout: %q, wanted: %q (stderr: %q)`, attachStdout.String(), wantAttachStdout, attachStderr.String())
|
||||
require.Eventuallyf(t, func() bool { return attachStdout.String() == wantAttachStdout }, time.Second*60, time.Second*5, `got "kubectl attach" stdout: %q, wanted: %q (stderr: %q)`, attachStdout.String(), wantAttachStdout, attachStderr.String())
|
||||
|
||||
// close stdin and attach process should exit
|
||||
err = attachStdin.Close()
|
||||
|
Loading…
Reference in New Issue
Block a user