Skip to content

Commit

Permalink
Fix test using pull request #2847 from marwanad/cherry-pick-configura…
Browse files Browse the repository at this point in the history
…ble-ttl-1.17
  • Loading branch information
hichemaichour committed Mar 3, 2020
1 parent 1e4aab6 commit e94ebf3
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions cluster-autoscaler/cloudprovider/azure/azure_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,11 @@ func TestListScalesets(t *testing.T) {
azureRef: azureRef{
Name: vmssName,
},
minSize: 5,
maxSize: 50,
manager: manager,
curSize: -1,
minSize: 5,
maxSize: 50,
manager: manager,
curSize: -1,
sizeRefreshPeriod: defaultVmssSizeRefreshPeriod,
}},
},
{
Expand Down Expand Up @@ -270,10 +271,11 @@ func TestGetFilteredAutoscalingGroupsVmss(t *testing.T) {
azureRef: azureRef{
Name: vmssName,
},
minSize: minVal,
maxSize: maxVal,
manager: manager,
curSize: -1,
minSize: minVal,
maxSize: maxVal,
manager: manager,
curSize: -1,
sizeRefreshPeriod: defaultVmssSizeRefreshPeriod,
}}
assert.True(t, assert.ObjectsAreEqualValues(expectedAsgs, asgs), "expected %#v, but found: %#v", expectedAsgs, asgs)
}
Expand Down

0 comments on commit e94ebf3

Please sign in to comment.