Skip to content

Commit

Permalink
fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipRudy committed Jan 21, 2025
1 parent 0eaa7ab commit af84e19
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func Test_sFnControllerConfiguration(t *testing.T) {
fixTestNode("node-1"),
fixTestNode("node-2"),
).Build()
eventRecorder := record.NewFakeRecorder(2)
eventRecorder := record.NewFakeRecorder(4)
r := &reconciler{log: zap.NewNop().Sugar(), k8s: k8s{client: c, EventRecorder: eventRecorder}}
next, result, err := sFnControllerConfiguration(context.TODO(), r, s)
require.Nil(t, err)
Expand Down Expand Up @@ -89,7 +89,7 @@ func Test_sFnControllerConfiguration(t *testing.T) {
fixTestNode("node-3"),
fixTestNode("node-4"),
).Build()
eventRecorder := record.NewFakeRecorder(2)
eventRecorder := record.NewFakeRecorder(4)
r := &reconciler{log: zap.NewNop().Sugar(), k8s: k8s{client: c, EventRecorder: eventRecorder}}
next, result, err := sFnControllerConfiguration(context.TODO(), r, s)
require.Nil(t, err)
Expand Down Expand Up @@ -223,7 +223,7 @@ func Test_sFnControllerConfiguration(t *testing.T) {
log: zap.NewNop().Sugar(),
k8s: k8s{
client: fake.NewClientBuilder().WithObjects(secret).Build(),
EventRecorder: record.NewFakeRecorder(2),
EventRecorder: record.NewFakeRecorder(4),
},
}

Expand Down

0 comments on commit af84e19

Please sign in to comment.