From 9d7e073a9d2c6c4dde0447e02e5697162b6f826d Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Thu, 27 Aug 2020 17:50:46 -0700 Subject: [PATCH] Fix an assertion about an error message in an integration test --- test/integration/credentialissuerconfig_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/credentialissuerconfig_test.go b/test/integration/credentialissuerconfig_test.go index 4b053786..22478d91 100644 --- a/test/integration/credentialissuerconfig_test.go +++ b/test/integration/credentialissuerconfig_test.go @@ -55,7 +55,7 @@ func TestCredentialIssuerConfig(t *testing.T) { } else { require.Equal(t, crdpinnipedv1alpha1.ErrorStrategyStatus, actualStatusStrategy.Status) require.Equal(t, crdpinnipedv1alpha1.CouldNotFetchKeyStrategyReason, actualStatusStrategy.Reason) - require.Contains(t, actualStatusStrategy.Message, "some part of the error message") + require.Contains(t, actualStatusStrategy.Message, "did not find kube-controller-manager pod") // For now, don't verify the kube config info because its not available on GKE. We'll need to address // this somehow once we starting supporting those cluster types. // Require `nil` to remind us to address this later for other types of clusters where it is available.