Skip to content

Commit

Permalink
Revert "add retry when ingress is not ready"
Browse files Browse the repository at this point in the history
This reverts commit b0d89e5.
  • Loading branch information
lonegunmanb committed Feb 19, 2024
1 parent ea70741 commit 63a173f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion examples/application_gateway_ingress/k8s_workload.tf
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ resource "kubernetes_ingress_v1" "ing" {
}

resource "time_sleep" "wait_for_ingress" {
create_duration = "5m"
create_duration = "15m"

depends_on = [kubernetes_ingress_v1.ing]
}
Expand Down
3 changes: 0 additions & 3 deletions test/e2e/terraform_aks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,6 @@ func TestExamples_applicationGatewayIngress(t *testing.T) {
"use_brown_field_application_gateway": u.useBrownFieldAppGw,
"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",
},
}, func(t *testing.T, output test_helper.TerraformOutput) {
url, ok := output["ingress_endpoint"].(string)
require.True(t, ok)
Expand Down
3 changes: 0 additions & 3 deletions test/upgrade/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ func TestExampleUpgrade_applicationGw(t *testing.T) {
"use_brown_field_application_gateway": u.useBrownFieldAppGw,
"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",
},
}, currentMajorVersion)
})
}
Expand Down

0 comments on commit 63a173f

Please sign in to comment.