Add some log output to TestCredentialIssuerConfig for troubleshooting.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
parent
8de046a561
commit
b39160e4c4
@ -36,6 +36,10 @@ func TestCredentialIssuerConfig(t *testing.T) {
|
|||||||
CredentialIssuerConfigs(namespaceName).
|
CredentialIssuerConfigs(namespaceName).
|
||||||
List(ctx, metav1.ListOptions{})
|
List(ctx, metav1.ListOptions{})
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
for _, config := range actualConfigList.Items {
|
||||||
|
t.Logf("found CredentialIssuerConfig: %+v", config)
|
||||||
|
}
|
||||||
|
|
||||||
require.Len(t, actualConfigList.Items, 1)
|
require.Len(t, actualConfigList.Items, 1)
|
||||||
|
|
||||||
actualStatusKubeConfigInfo := actualConfigList.Items[0].Status.KubeConfigInfo
|
actualStatusKubeConfigInfo := actualConfigList.Items[0].Status.KubeConfigInfo
|
||||||
|
Loading…
Reference in New Issue
Block a user