Skip to content

Commit

Permalink
"no backends" now considered as warning not error in VCL service (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
smaeda-ks authored Aug 16, 2021
1 parent 0f60288 commit 4f57fa8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions fastly/resource_fastly_service_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,6 @@ func TestAccFastlyServiceV1_createServiceWithStaticBackend(t *testing.T) {
}
}
`
snippet2 := "# just a comment line"

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Expand All @@ -397,10 +396,6 @@ func TestAccFastlyServiceV1_createServiceWithStaticBackend(t *testing.T) {
"fastly_service_v1.foo", "backend.#", "0"),
),
},
{
Config: testAccServiceV1Config_staticBackend(name, domain, snippet2),
ExpectError: regexp.MustCompile("No backends"),
},
},
})
}
Expand Down

0 comments on commit 4f57fa8

Please sign in to comment.