Skip to content

Commit e0fd7c9

Browse files
committed
Add PreCheck for HTTP Loadbalancing
1 parent 579b38e commit e0fd7c9

2 files changed

+2
-0
lines changed

ovh/resource_ovh_iploadbalancing_http_farm_server_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ func TestAccIpLoadbalancingHttpFarmServerBasicCreate(t *testing.T) {
237237
steps = append(steps, w.TestStep(tcase))
238238
}
239239
resource.Test(t, resource.TestCase{
240+
PreCheck: func() { testAccPreCheckIpLoadbalancing(t) },
240241
Providers: testAccProviders,
241242
CheckDestroy: w.TestDestroy,
242243
Steps: steps,

ovh/resource_ovh_iploadbalancing_http_farm_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ func testAccIpLoadbalancingHttpFarmTestStep(name, zone string, port, probePort,
7878

7979
func TestAccIpLoadbalancingHttpFarmBasicCreate(t *testing.T) {
8080
resource.Test(t, resource.TestCase{
81+
PreCheck: func() { testAccPreCheckIpLoadbalancing(t) },
8182
Providers: testAccProviders,
8283
CheckDestroy: testAccCheckIpLoadbalancingHttpFarmDestroy,
8384
Steps: []resource.TestStep{

0 commit comments

Comments
 (0)