Skip to content

Commit

Permalink
Merge pull request #6134 from jackfrancis/azure-manager-env-ut
Browse files Browse the repository at this point in the history
Azure: add ENV coverage to UT
  • Loading branch information
k8s-ci-robot authored Oct 10, 2023
2 parents e6ebe87 + 85d63e7 commit e7bf3ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cluster-autoscaler/cloudprovider/azure/azure_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,8 @@ func TestCreateAzureManagerWithNilConfig(t *testing.T) {

t.Setenv("ARM_CLOUD", "AzurePublicCloud")
t.Setenv("LOCATION", "southeastasia")
t.Setenv("AZURE_TENANT_ID", "tenantId")
t.Setenv("AZURE_CLIENT_ID", "aadClientId")
t.Setenv("ARM_SUBSCRIPTION_ID", "subscriptionId")
t.Setenv("ARM_RESOURCE_GROUP", "resourceGroup")
t.Setenv("ARM_TENANT_ID", "tenantId")
Expand Down

0 comments on commit e7bf3ec

Please sign in to comment.