diff --git a/test/integration/concierge_credentialissuer_test.go b/test/integration/concierge_credentialissuer_test.go index e3d4dcbd..9663532e 100644 --- a/test/integration/concierge_credentialissuer_test.go +++ b/test/integration/concierge_credentialissuer_test.go @@ -87,16 +87,6 @@ func TestCredentialIssuer(t *testing.T) { }, actualStatusKubeConfigInfo, ) - - // Only validate LastUpdateTime when cluster signing key is available. The last update time - // will be set every time our controllers resync, but only when there exists controller - // manager pods (all other pods will be filtered out), hence why this assertion is in this - // if branch. - // - // This behavior is up for debate. We should eventually discuss the contract for this - // LastUpdateTime field and ensure that the implementation is the same for when the cluster - // signing key is available and not available. - require.WithinDuration(t, time.Now(), actualStatusStrategy.LastUpdateTime.Local(), 10*time.Minute) } else { require.Equal(t, configv1alpha1.ErrorStrategyStatus, actualStatusStrategy.Status) require.Equal(t, configv1alpha1.CouldNotFetchKeyStrategyReason, actualStatusStrategy.Reason)