Tweak these timeouts to be a bit faster (and retrigger CI).

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2020-12-03 13:22:27 -06:00
parent 408fbe4f76
commit 8563c05baf
No known key found for this signature in database
GPG Key ID: EAE88AD172C5AE2D

View File

@ -111,7 +111,7 @@ func TestSupervisorLogin(t *testing.T) {
assert.Eventually(t, func() bool { assert.Eventually(t, func() bool {
discovery, err = oidc.NewProvider(oidc.ClientContext(ctx, httpClient), downstream.Spec.Issuer) discovery, err = oidc.NewProvider(oidc.ClientContext(ctx, httpClient), downstream.Spec.Issuer)
return err == nil return err == nil
}, 60*time.Second, 1*time.Second) }, 30*time.Second, 200*time.Millisecond)
require.NoError(t, err) require.NoError(t, err)
// Start a callback server on localhost. // Start a callback server on localhost.