Skip to content

Commit

Permalink
update fix TestStaticAutoscalerInstanceCreationErrors
Browse files Browse the repository at this point in the history
  • Loading branch information
daimaxiaxie committed Mar 22, 2024
1 parent da0eb2f commit 7cb7ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-autoscaler/core/static_autoscaler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1853,7 +1853,7 @@ func TestStaticAutoscalerInstanceCreationErrors(t *testing.T) {
nodeGroupAtomic.On("Exist").Return(true)
nodeGroupAtomic.On("Autoprovisioned").Return(false)
nodeGroupAtomic.On("TargetSize").Return(3, nil)
nodeGroupA.On("MinSize").Return(1, nil)
nodeGroupAtomic.On("MinSize").Return(1, nil)
nodeGroupAtomic.On("Id").Return("D")
nodeGroupAtomic.On("DeleteNodes", mock.Anything).Return(nil)
nodeGroupAtomic.On("GetOptions", options.NodeGroupDefaults).Return(
Expand Down

0 comments on commit 7cb7ba8

Please sign in to comment.