Skip to content

Commit

Permalink
unneeded computeHorizonWithJitter()
Browse files Browse the repository at this point in the history
  • Loading branch information
tvoran committed Sep 13, 2024
1 parent d31cc62 commit 7b1a1ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/hcpvaultsecretsapp_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func Test_getNextRequeue(t *testing.T) {
// renewal should come before the current requeueAfter, so the
// expected renewal time is 82% of the TTL (49m12s) minus the time
// since the secret was created (30m).
requeueAfter: computeHorizonWithJitter(2 * time.Hour),
requeueAfter: 2 * time.Hour,
dynamicInstance: &models.Secrets20231128OpenSecretDynamicInstance{
CreatedAt: strfmt.DateTime(now.Add(-30 * time.Minute)),
ExpiresAt: strfmt.DateTime(now.Add(30 * time.Minute)),
Expand Down

0 comments on commit 7b1a1ed

Please sign in to comment.