Skip to content

Commit

Permalink
chore: retreat instance cache changes from this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
comtalyst committed Jul 21, 2024
1 parent b9beb2a commit 222b6db
Show file tree
Hide file tree
Showing 7 changed files with 347 additions and 1,086 deletions.

This file was deleted.

This file was deleted.

13 changes: 6 additions & 7 deletions cluster-autoscaler/cloudprovider/azure/azure_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -691,13 +691,12 @@ func TestGetFilteredAutoscalingGroupsVmss(t *testing.T) {
azureRef: azureRef{
Name: vmssName,
},
minSize: minVal,
maxSize: maxVal,
manager: manager,
curSize: 3,
sizeRefreshPeriod: manager.azureCache.refreshInterval,
getVmssSizeRefreshPeriod: manager.azureCache.refreshInterval,
InstanceCache: InstanceCache{instancesRefreshPeriod: defaultVmssInstancesRefreshPeriod},
minSize: minVal,
maxSize: maxVal,
manager: manager,
curSize: 3,
sizeRefreshPeriod: manager.azureCache.refreshInterval,
instancesRefreshPeriod: defaultVmssInstancesRefreshPeriod,
}}
assert.True(t, assert.ObjectsAreEqualValues(expectedAsgs, asgs), "expected %#v, but found: %#v", expectedAsgs, asgs)
}
Expand Down
Loading

0 comments on commit 222b6db

Please sign in to comment.