Skip to content

Commit

Permalink
try to fix retryable regex because there's color in apply's output
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed Jan 12, 2024
1 parent b0d89e5 commit 7eecde5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/terraform_aks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func TestExamples_applicationGatewayIngress(t *testing.T) {
"create_role_assignments_for_application_gateway": u.createRoleBindingForAppGw,
},
RetryableTerraformErrors: map[string]string{
"data.kubernetes_ingress_v1.ing.status[0].load_balancer[0].ingress is empty list of object": "the ingress hasn't been created, need more time",
"data.kubernetes_ingress_v1.ing.status[0].load_balancer[0].ingress": "the ingress hasn't been created, need more time",
},
}, func(t *testing.T, output test_helper.TerraformOutput) {
url, ok := output["ingress_endpoint"].(string)
Expand Down
2 changes: 1 addition & 1 deletion test/upgrade/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func TestExampleUpgrade_applicationGw(t *testing.T) {
"create_role_assignments_for_application_gateway": u.createRoleBindingForAppGw,
},
RetryableTerraformErrors: map[string]string{
"data.kubernetes_ingress_v1.ing.status[0].load_balancer[0].ingress is empty list of object": "the ingress hasn't been created, need more time",
"data.kubernetes_ingress_v1.ing.status[0].load_balancer[0].ingress": "the ingress hasn't been created, need more time",
},
}, currentMajorVersion)
})
Expand Down

0 comments on commit 7eecde5

Please sign in to comment.