Skip to content

Commit

Permalink
Review fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz-Smelcerz-SAP committed Apr 5, 2024
1 parent f2e9500 commit dc0385d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions internal/pkg/flags/flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,16 @@ func Test_ConstantFlags(t *testing.T) {
constValue: DefaultDropCrdStoredVersionMap,
expectedValue: "Manifest:v1beta1,Watcher:v1beta1,ModuleTemplate:v1beta1,Kyma:v1beta1",
},
{
constName: "DefaultLeaderElectionLeaseDuration",
constValue: DefaultLeaderElectionLeaseDuration.String(),
expectedValue: (180 * time.Second).String(),
},
{
constName: "DefaultLeaderElectionRenewDeadline",
constValue: DefaultLeaderElectionRenewDeadline.String(),
expectedValue: (120 * time.Second).String(),
},
}
for _, testcase := range tests {
testcase := testcase
Expand Down

0 comments on commit dc0385d

Please sign in to comment.