Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhu36 committed Jan 24, 2025
1 parent a41fb57 commit 734e457
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions alicloud/resource_alicloud_threat_detection_instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func TestAccAliCloudThreatDetectionInstance_basic1826(t *testing.T) {
resource.Test(t, resource.TestCase{
PreCheck: func() {
testAccPreCheck(t)
testAccPreCheckWithAccountSiteType(t, IntlSite)
testAccPreCheckForCleanUpInstances(t, "", "sas", "sas", "sas", "")
},
IDRefreshName: resourceId,
Expand Down Expand Up @@ -161,6 +162,7 @@ func TestAccAliCloudThreatDetectionInstance_basic4253(t *testing.T) {
resource.Test(t, resource.TestCase{
PreCheck: func() {
testAccPreCheck(t)
testAccPreCheckWithAccountSiteType(t, IntlSite)
testAccPreCheckForCleanUpInstances(t, "", "sas", "sas", "sas", "")
},
IDRefreshName: resourceId,
Expand Down Expand Up @@ -652,18 +654,16 @@ func TestAccAliCloudThreatDetectionInstance_basic4253_twin(t *testing.T) {
"sas_sdk": "20",
"sas_anti_ransomware": "20",
"sas_webguard_order_num": "20",
"renewal_status": "AutoRenewal",
"renewal_status": "ManualRenewal",
"period": "1",
"vul_switch": "0",
"rasp_count": "2",
"vul_count": "30",
"version_code": "level2",
"sas_cspm": "1200",
"sas_sdk_switch": "1",
"renewal_period_unit": "Y",
"container_image_scan_new": "200",
"honeypot": "30",
"renew_period": "2",
"modify_type": "Upgrade",
}),
Check: resource.ComposeTestCheckFunc(
Expand All @@ -681,18 +681,16 @@ func TestAccAliCloudThreatDetectionInstance_basic4253_twin(t *testing.T) {
"sas_sdk": "20",
"sas_anti_ransomware": "20",
"sas_webguard_order_num": "20",
"renewal_status": "AutoRenewal",
"renewal_status": "ManualRenewal",
"period": "1",
"vul_switch": "0",
"rasp_count": "2",
"vul_count": "30",
"version_code": "level2",
"sas_cspm": "1200",
"sas_sdk_switch": "1",
"renewal_period_unit": "Y",
"container_image_scan_new": "200",
"honeypot": "30",
"renew_period": "2",
"modify_type": "Upgrade",
}),
),
Expand Down Expand Up @@ -821,6 +819,7 @@ func TestAccAliCloudThreatDetectionInstance_basic4253_twin_fix(t *testing.T) {
resource.Test(t, resource.TestCase{
PreCheck: func() {
testAccPreCheck(t)
testAccPreCheckWithAccountSiteType(t, IntlSite)
testAccPreCheckForCleanUpInstances(t, "", "sas", "sas", "sas", "")
},
IDRefreshName: resourceId,
Expand Down

0 comments on commit 734e457

Please sign in to comment.