@@ -324,6 +324,7 @@ func TestAWSMachinePoolReconciler(t *testing.T) {
324
324
asgSvc .EXPECT ().SubnetIDs (gomock .Any ()).Return ([]string {}, nil )
325
325
asgSvc .EXPECT ().UpdateASG (gomock .Any ()).Return (nil )
326
326
reconSvc .EXPECT ().ReconcileTags (gomock .Any (), gomock .Any ()).Return (nil )
327
+ asgSvc .EXPECT ().DescribeLifecycleHooks (gomock .Any ()).Return (nil , nil )
327
328
328
329
_ , err := reconciler .reconcileNormal (context .Background (), ms , cs , cs )
329
330
g .Expect (err ).To (Succeed ())
@@ -363,6 +364,7 @@ func TestAWSMachinePoolReconciler(t *testing.T) {
363
364
asgSvc .EXPECT ().SubnetIDs (gomock .Any ()).Return ([]string {}, nil )
364
365
asgSvc .EXPECT ().UpdateASG (gomock .Any ()).Return (nil )
365
366
reconSvc .EXPECT ().ReconcileTags (gomock .Any (), gomock .Any ()).Return (nil )
367
+ asgSvc .EXPECT ().DescribeLifecycleHooks (gomock .Any ()).Return (nil , nil )
366
368
367
369
_ , err := reconciler .reconcileNormal (context .Background (), ms , cs , cs )
368
370
g .Expect (err ).To (Succeed ())
@@ -461,6 +463,7 @@ func TestAWSMachinePoolReconciler(t *testing.T) {
461
463
asgSvc .EXPECT ().SubnetIDs (gomock .Any ()).Return ([]string {}, nil )
462
464
asgSvc .EXPECT ().UpdateASG (gomock .Any ()).Return (nil )
463
465
reconSvc .EXPECT ().ReconcileTags (gomock .Any (), gomock .Any ()).Return (nil )
466
+ asgSvc .EXPECT ().DescribeLifecycleHooks (gomock .Any ()).Return (nil , nil )
464
467
465
468
_ , err := reconciler .reconcileNormal (context .Background (), ms , cs , cs )
466
469
g .Expect (err ).To (Succeed ())
0 commit comments