Skip to content

Commit

Permalink
Merge pull request #395 from lonegunmanb/f-e2etest
Browse files Browse the repository at this point in the history
Fix incorrect e2e test code so it could pass on our local machine
  • Loading branch information
jiaweitao001 authored Jun 19, 2023
2 parents 64818c1 + 843ac3e commit 3dcba31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e/terraform_aks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func assertOutputNotEmpty(t *testing.T, output test_helper.TerraformOutput, name
}

func TestExamplesWithoutMonitor(t *testing.T) {
var vars map[string]interface{}
vars := make(map[string]interface{}, 0)
managedIdentityId := os.Getenv("MSI_ID")
if managedIdentityId != "" {
vars = map[string]interface{}{
Expand All @@ -63,7 +63,7 @@ func TestExamplesWithoutMonitor(t *testing.T) {
}

func TestExamplesNamedCluster(t *testing.T) {
var vars map[string]interface{}
vars := make(map[string]interface{})
managedIdentityId := os.Getenv("MSI_ID")
if managedIdentityId != "" {
vars = map[string]interface{}{
Expand Down Expand Up @@ -105,7 +105,7 @@ func TestExamplesWithoutAssertion(t *testing.T) {
}

func TestExamples_differentLocationForLogAnalyticsSolution(t *testing.T) {
var vars map[string]any
vars := make(map[string]any, 0)
managedIdentityId := os.Getenv("MSI_ID")
if managedIdentityId != "" {
vars = map[string]any{
Expand Down

0 comments on commit 3dcba31

Please sign in to comment.