Skip to content

Commit cdde3b3

Browse files
committed
fix: add missing test calls
1 parent 7f14859 commit cdde3b3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

exp/controllers/awsmachinepool_controller_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ func TestAWSMachinePoolReconciler(t *testing.T) {
324324
asgSvc.EXPECT().SubnetIDs(gomock.Any()).Return([]string{}, nil)
325325
asgSvc.EXPECT().UpdateASG(gomock.Any()).Return(nil)
326326
reconSvc.EXPECT().ReconcileTags(gomock.Any(), gomock.Any()).Return(nil)
327+
asgSvc.EXPECT().DescribeLifecycleHooks(gomock.Any()).Return(nil, nil)
327328

328329
_, err := reconciler.reconcileNormal(context.Background(), ms, cs, cs)
329330
g.Expect(err).To(Succeed())
@@ -363,6 +364,7 @@ func TestAWSMachinePoolReconciler(t *testing.T) {
363364
asgSvc.EXPECT().SubnetIDs(gomock.Any()).Return([]string{}, nil)
364365
asgSvc.EXPECT().UpdateASG(gomock.Any()).Return(nil)
365366
reconSvc.EXPECT().ReconcileTags(gomock.Any(), gomock.Any()).Return(nil)
367+
asgSvc.EXPECT().DescribeLifecycleHooks(gomock.Any()).Return(nil, nil)
366368

367369
_, err := reconciler.reconcileNormal(context.Background(), ms, cs, cs)
368370
g.Expect(err).To(Succeed())
@@ -461,6 +463,7 @@ func TestAWSMachinePoolReconciler(t *testing.T) {
461463
asgSvc.EXPECT().SubnetIDs(gomock.Any()).Return([]string{}, nil)
462464
asgSvc.EXPECT().UpdateASG(gomock.Any()).Return(nil)
463465
reconSvc.EXPECT().ReconcileTags(gomock.Any(), gomock.Any()).Return(nil)
466+
asgSvc.EXPECT().DescribeLifecycleHooks(gomock.Any()).Return(nil, nil)
464467

465468
_, err := reconciler.reconcileNormal(context.Background(), ms, cs, cs)
466469
g.Expect(err).To(Succeed())

0 commit comments

Comments
 (0)