Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kubernetes/autoscaler
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1f39113166957825537616bbcd0d09ebb215350b
Choose a base ref
..
head repository: kubernetes/autoscaler
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1d2e0e0943dce730c414054d338aee4838da6d85
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 cluster-autoscaler/core/static_autoscaler_test.go
2 changes: 1 addition & 1 deletion cluster-autoscaler/core/static_autoscaler_test.go
Original file line number Diff line number Diff line change
@@ -882,7 +882,7 @@ func TestStaticAutoscalerRunOnceWithAutoprovisionedEnabled(t *testing.T) {
podDisruptionBudgetListerMock.On("List").Return([]*policyv1.PodDisruptionBudget{}, nil).Once()
daemonSetListerMock.On("List", labels.Everything()).Return([]*appsv1.DaemonSet{}, nil).Once()
onNodeGroupDeleteMock.On("Delete", "autoprovisioned-"+
"TN1").Return(nil).Once()
"TN1").Return(nil).Once()
onScaleDownMock.On("ScaleDown", "autoprovisioned-TN2", "n2").Return(nil).Once()

err = autoscaler.RunOnce(time.Now().Add(2 * time.Hour))