Skip to content

Commit

Permalink
revert TestStaticAutoscalerInstanceCreationErrors
Browse files Browse the repository at this point in the history
  • Loading branch information
daimaxiaxie committed Jun 21, 2024
1 parent 76dd0af commit 6615d51
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cluster-autoscaler/core/static_autoscaler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1613,7 +1613,6 @@ func TestStaticAutoscalerInstanceCreationErrors(t *testing.T) {
nodeGroupA.On("Exist").Return(true)
nodeGroupA.On("Autoprovisioned").Return(false)
nodeGroupA.On("TargetSize").Return(5, nil)
nodeGroupA.On("MinSize").Return(1, nil)
nodeGroupA.On("Id").Return("A")
nodeGroupA.On("DeleteNodes", mock.Anything).Return(nil)
nodeGroupA.On("GetOptions", options.NodeGroupDefaults).Return(&options.NodeGroupDefaults, nil)
Expand Down Expand Up @@ -1853,7 +1852,6 @@ func TestStaticAutoscalerInstanceCreationErrors(t *testing.T) {
nodeGroupAtomic.On("Exist").Return(true)
nodeGroupAtomic.On("Autoprovisioned").Return(false)
nodeGroupAtomic.On("TargetSize").Return(3, 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 6615d51

Please sign in to comment.