diff --git a/pkg/clients/topic/topic_test.go b/pkg/clients/topic/topic_test.go index 09773f7a6..dbe3f1cfc 100644 --- a/pkg/clients/topic/topic_test.go +++ b/pkg/clients/topic/topic_test.go @@ -123,6 +123,10 @@ func TestIsUpToDate(t *testing.T) { obs pubsub.Topic param v1alpha1.TopicParameters } + + upToDateTopic := topic() + upToDateTopic.MessageRetentionDuration = "600.00s" + cases := map[string]struct { args result bool @@ -138,7 +142,7 @@ func TestIsUpToDate(t *testing.T) { }, "UpToDate": { args: args{ - obs: *topic(), + obs: *upToDateTopic, param: *params(), }, result: true,