Sleep for 1 minute 10 seconds instead of a minute in timeout test
This commit is contained in:
parent
e47543233c
commit
64e0dbb481
@ -284,7 +284,8 @@ func TestImpersonationProxy(t *testing.T) { //nolint:gocyclo // yeah, it's compl
|
|||||||
go func() {
|
go func() {
|
||||||
assert.EqualErrorf(t, portForwardCmd.Wait(), "signal: killed", `wanted "kubectl port-forward" to get signaled because context was cancelled (stderr: %q)`, portForwardStderr.String())
|
assert.EqualErrorf(t, portForwardCmd.Wait(), "signal: killed", `wanted "kubectl port-forward" to get signaled because context was cancelled (stderr: %q)`, portForwardStderr.String())
|
||||||
}()
|
}()
|
||||||
time.Sleep(1 * time.Minute)
|
|
||||||
|
time.Sleep(70 * time.Second)
|
||||||
|
|
||||||
require.Eventually(t, func() bool {
|
require.Eventually(t, func() bool {
|
||||||
// then run curl something against it
|
// then run curl something against it
|
||||||
|
Loading…
Reference in New Issue
Block a user