From ac431ddc6df43255250e788d9d5da24fa39fe2f5 Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Mon, 17 May 2021 12:57:34 -0700 Subject: [PATCH] Add more to failure message in test which only fails in main CI --- test/library/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/library/client.go b/test/library/client.go index ef242613..73baed90 100644 --- a/test/library/client.go +++ b/test/library/client.go @@ -396,7 +396,7 @@ func CreateTestOIDCIdentityProvider(t *testing.T, spec idpv1alpha1.OIDCIdentityP result, err = upstreams.Get(ctx, created.Name, metav1.GetOptions{}) require.NoError(t, err) return result.Status.Phase == expectedPhase - }, 60*time.Second, 1*time.Second, "expected the OIDCIdentityProvider to go into phase %s", expectedPhase) + }, 60*time.Second, 1*time.Second, "expected the OIDCIdentityProvider to go into phase %s, OIDCIdentityProvider was: %s", expectedPhase, Sdump(result)) return result } @@ -431,7 +431,7 @@ func CreateTestLDAPIdentityProvider(t *testing.T, spec idpv1alpha1.LDAPIdentityP result, err = upstreams.Get(ctx, created.Name, metav1.GetOptions{}) require.NoError(t, err) return result.Status.Phase == expectedPhase - }, 60*time.Second, 1*time.Second, "expected the LDAPIdentityProvider to go into phase %s", expectedPhase) + }, 60*time.Second, 1*time.Second, "expected the LDAPIdentityProvider to go into phase %s, LDAPIdentityProvider was: %s", expectedPhase, Sdump(result)) return result }