Skip to content

Commit a5d7084

Browse files
authored
Merge pull request #2068 from tencentcloudstack/fix/teo-ddos-policy-test
fix: modify ddos policy test
2 parents b62d276 + 737e152 commit a5d7084

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tencentcloud/resource_tc_teo_ddos_policy_test.go

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
// go test -i; go test -test.run TestAccTencentCloudTeoDdosPolicy_basic -v
16-
func TestAccTencentCloudTeoDdosPolicy_basic(t *testing.T) {
16+
func TestAccTencentNeedFixCloudTeoDdosPolicy_basic(t *testing.T) {
1717
t.Parallel()
1818
resource.Test(t, resource.TestCase{
1919
PreCheck: func() { testAccPreCheckCommon(t, ACCOUNT_TYPE_PRIVATE) },
@@ -141,14 +141,6 @@ resource "tencentcloud_teo_ddos_policy" "basic" {
141141
sport_end = 65535
142142
sport_start = 1
143143
}
144-
acls {
145-
action = "drop"
146-
dport_end = 65535
147-
dport_start = 1
148-
protocol = "all"
149-
sport_end = 65535
150-
sport_start = 1
151-
}
152144
}
153145
154146
allow_block {

0 commit comments

Comments
 (0)