Skip to content

Commit 46f4cdb

Browse files
committed
fix: failing test case in TestAWSMachineReconciler
Signed-off-by: Pankaj Walke <[email protected]>
1 parent 159d24f commit 46f4cdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/awsmachine_controller_unit_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1552,7 +1552,7 @@ func TestAWSMachineReconciler(t *testing.T) {
15521552

15531553
// TODO: This seems to have no effect on the test result.
15541554
ms.AWSMachine.Status.FailureReason = ptr.To("UpdateError")
1555-
objectStoreSvc.EXPECT().Delete(gomock.Any()).Return(nil).Times(1)
1555+
objectStoreSvc.EXPECT().Delete(gomock.Any(), gomock.Any()).Return(nil).Times(1)
15561556
ec2Svc.EXPECT().TerminateInstance(gomock.Any()).Return(nil).AnyTimes()
15571557
_, _ = reconciler.reconcileDelete(context.TODO(), ms, cs, cs, cs, cs)
15581558
})

0 commit comments

Comments
 (0)