More debugging of tests which only fail in main CI
This commit is contained in:
parent
ac431ddc6d
commit
8c660f09bc
@ -161,7 +161,7 @@ spec:
|
||||
cpu: "100m" #! one-tenth of one CPU
|
||||
memory: "64Mi"
|
||||
limits:
|
||||
cpu: "200m" #! slapd needs a reasonable amount of CPU during initial startup or else it is slow to start
|
||||
#! Do not limit CPU because it was causing issues running integration tests on AKS where openldap became very slow.
|
||||
memory: "64Mi"
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
|
@ -394,7 +394,10 @@ func CreateTestOIDCIdentityProvider(t *testing.T, spec idpv1alpha1.OIDCIdentityP
|
||||
require.Eventuallyf(t, func() bool {
|
||||
var err error
|
||||
result, err = upstreams.Get(ctx, created.Name, metav1.GetOptions{})
|
||||
require.NoError(t, err)
|
||||
if err != nil {
|
||||
t.Logf("error while getting OIDCIdentityProvider %s/%s: %s", created.Namespace, created.Name, err.Error())
|
||||
return false
|
||||
}
|
||||
return result.Status.Phase == expectedPhase
|
||||
}, 60*time.Second, 1*time.Second, "expected the OIDCIdentityProvider to go into phase %s, OIDCIdentityProvider was: %s", expectedPhase, Sdump(result))
|
||||
return result
|
||||
@ -429,7 +432,10 @@ func CreateTestLDAPIdentityProvider(t *testing.T, spec idpv1alpha1.LDAPIdentityP
|
||||
require.Eventuallyf(t, func() bool {
|
||||
var err error
|
||||
result, err = upstreams.Get(ctx, created.Name, metav1.GetOptions{})
|
||||
require.NoError(t, err)
|
||||
if err != nil {
|
||||
t.Logf("error while getting LDAPIdentityProvider %s/%s: %s", created.Namespace, created.Name, err.Error())
|
||||
return false
|
||||
}
|
||||
return result.Status.Phase == expectedPhase
|
||||
}, 60*time.Second, 1*time.Second, "expected the LDAPIdentityProvider to go into phase %s, LDAPIdentityProvider was: %s", expectedPhase, Sdump(result))
|
||||
return result
|
||||
|
Loading…
Reference in New Issue
Block a user