Skip to content

Commit

Permalink
Update getVmssSizeRefreshPeriod to use time conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
rakechill committed Jul 17, 2024
1 parent d11a9c8 commit 2551d86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ func TestGetFilteredAutoscalingGroupsVmssWithConfiguredSizes(t *testing.T) {
curSize: 3,
sizeRefreshPeriod: manager.azureCache.refreshInterval,
instancesRefreshPeriod: defaultVmssInstancesRefreshPeriod,
getVmssSizeRefreshPeriod: VmssSizeRefreshPeriodDefault,
getVmssSizeRefreshPeriod: time.Duration(VmssSizeRefreshPeriodDefault) * time.Second,
}}
assert.True(t, assert.ObjectsAreEqualValues(expectedAsgs, asgs), "expected %#v, but found: %#v", expectedAsgs, asgs)
}
Expand Down

0 comments on commit 2551d86

Please sign in to comment.