Skip to content

Commit

Permalink
Merge pull request #7747 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…7737-to-cluster-autoscaler-release-1.32

[cluster-autoscaler-release-1.32] test: add additional assertion for dynamic SKU list test
  • Loading branch information
k8s-ci-robot authored Jan 22, 2025
2 parents 98891b9 + 3d4efd3 commit c93c528
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1116,6 +1116,10 @@ func TestTemplateNodeInfo(t *testing.T) {
}
asg.Name = "test-asg"

// The dynamic SKU list ("cache") in the test provider is empty
// (initialized with cfg.EnableDynamicInstanceList = false).
assert.False(t, provider.azureManager.azureCache.HasVMSKUs())

t.Run("Checking fallback to static because dynamic list is empty", func(t *testing.T) {
asg.enableDynamicInstanceList = true

Expand Down

0 comments on commit c93c528

Please sign in to comment.