Skip to content

Commit

Permalink
refactor: remove unused health probe assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
gareda committed Aug 6, 2024
1 parent fba5e2e commit 265cdfa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/testing.tftest.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,6 @@ run "plan" {
error_message = "The name of the first Health Probe is not as expected."
}

assert {
condition = lookup({ for probe in azurerm_application_gateway.main.probe : probe.name => probe }["probe-1"], "host", null) == null
error_message = "The host of the first Health Probe is not as expected."
}

assert {
condition = { for probe in azurerm_application_gateway.main.probe : probe.name => probe }["probe-1"].protocol == var.probes[0].protocol
error_message = "The protocol of the first Health Probe is not as expected."
Expand Down

0 comments on commit 265cdfa

Please sign in to comment.